powerpc: Unify the 32 and 64 bit idle loops
authorPaul Mackerras <paulus@samba.org>
Mon, 27 Mar 2006 04:03:03 +0000 (15:03 +1100)
committerPaul Mackerras <paulus@samba.org>
Mon, 27 Mar 2006 04:03:03 +0000 (15:03 +1100)
commita0652fc9a28c3ef8cd59264bfcb089c44d1b0e06
treea28527b65237b3067553a993f5ad06dfb24df044
parent55aab8cd3a498201b769a19de861c77516bdfd45
powerpc: Unify the 32 and 64 bit idle loops

This unifies the 32-bit (ARCH=ppc and ARCH=powerpc) and 64-bit idle
loops.  It brings over the concept of having a ppc_md.power_save
function from 32-bit to ARCH=powerpc, which lets us get rid of
native_idle().  With this we will also be able to simplify the idle
handling for pSeries and cell.

Signed-off-by: Paul Mackerras <paulus@samba.org>
18 files changed:
arch/powerpc/kernel/Makefile
arch/powerpc/kernel/entry_32.S
arch/powerpc/kernel/idle.c [moved from arch/powerpc/kernel/idle_64.c with 65% similarity]
arch/powerpc/kernel/idle_6xx.S
arch/powerpc/kernel/idle_power4.S
arch/powerpc/kernel/setup_32.c
arch/powerpc/kernel/setup_64.c
arch/powerpc/platforms/maple/setup.c
arch/powerpc/platforms/powermac/setup.c
arch/ppc/Makefile
arch/ppc/kernel/Makefile
arch/ppc/kernel/entry.S
arch/ppc/kernel/idle.c [deleted file]
arch/ppc/kernel/idle_6xx.S [deleted file]
arch/ppc/kernel/idle_power4.S [deleted file]
include/asm-powerpc/machdep.h
include/asm-powerpc/reg.h
include/asm-ppc/machdep.h