[POWERPC] cell: use ppc_md->power_save instead of cbe_idle_loop
authorarnd@arndb.de <arnd@arndb.de>
Tue, 24 Oct 2006 16:31:26 +0000 (18:31 +0200)
committerPaul Mackerras <paulus@samba.org>
Wed, 25 Oct 2006 04:20:22 +0000 (14:20 +1000)
commit302eca184fb844670fb128c69e22a8a28bbce48a
tree6d61e03b85e2d11c58d527f6125bd33cbd27c5ae
parentb3d7dc1967d1303d4897ff9537d29f6e077de147
[POWERPC] cell: use ppc_md->power_save instead of cbe_idle_loop

This moves the cell idle function to use the default cpu_idle
with a special power_save callback, like all other platforms
except iSeries already do.

It also makes it possible to disable this power_save function
with a new powerpc-specific boot option "powersave=off".

Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/idle.c
arch/powerpc/platforms/cell/pervasive.c