[POWERPC] PS3: Save power in busy loops on halt
authorGeert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Thu, 27 Mar 2008 00:38:31 +0000 (11:38 +1100)
committerPaul Mackerras <paulus@samba.org>
Tue, 1 Apr 2008 09:43:07 +0000 (20:43 +1100)
commitca052f7924141f34998ab440bb4d908dc021a46b
treef84280e5932f214794afcbbe95d866eabcf0a3a7
parent5761eaa3a5ae3c7ea796add73b86176b7c963cca
[POWERPC] PS3: Save power in busy loops on halt

PS3 save power on halt:
  - Replace infinite busy loops by smarter loops calling
    lv1_pause() to save power.
  - Add ps3_halt() and ps3_sys_manager_halt().
  - Add __noreturn annotations.

Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/ps3/setup.c
drivers/ps3/ps3-sys-manager.c
drivers/ps3/sys-manager-core.c
include/asm-powerpc/ps3.h