diff options
author | Paul Mackerras <paulus@samba.org> | 2006-03-26 23:03:03 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-03-26 23:03:03 -0500 |
commit | a0652fc9a28c3ef8cd59264bfcb089c44d1b0e06 (patch) | |
tree | a28527b65237b3067553a993f5ad06dfb24df044 /arch/powerpc/kernel/setup_64.c | |
parent | 55aab8cd3a498201b769a19de861c77516bdfd45 (diff) |
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>
Diffstat (limited to 'arch/powerpc/kernel/setup_64.c')
-rw-r--r-- | arch/powerpc/kernel/setup_64.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/powerpc/kernel/setup_64.c b/arch/powerpc/kernel/setup_64.c index 6c9b093c23a5..5b63a861ef43 100644 --- a/arch/powerpc/kernel/setup_64.c +++ b/arch/powerpc/kernel/setup_64.c | |||
@@ -607,12 +607,6 @@ void __init setup_arch(char **cmdline_p) | |||
607 | 607 | ||
608 | ppc_md.setup_arch(); | 608 | ppc_md.setup_arch(); |
609 | 609 | ||
610 | /* Use the default idle loop if the platform hasn't provided one. */ | ||
611 | if (NULL == ppc_md.idle_loop) { | ||
612 | ppc_md.idle_loop = default_idle; | ||
613 | printk(KERN_INFO "Using default idle loop\n"); | ||
614 | } | ||
615 | |||
616 | paging_init(); | 610 | paging_init(); |
617 | ppc64_boot_msg(0x15, "Setup Done"); | 611 | ppc64_boot_msg(0x15, "Setup Done"); |
618 | } | 612 | } |