aboutsummaryrefslogtreecommitdiff
path: root/arch/ppc64/kernel/maple_setup.c
diff options
context:
space:
mode:
authorMichael Ellerman <michael@ellerman.id.au>2005-07-07 17:56:30 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-07 18:23:41 -0700
commit62d60e9f0f890c31e5a83a7d8ecdfd1c7975fdb9 (patch)
tree840653ffa74b54ec277630116355d161ab076679 /arch/ppc64/kernel/maple_setup.c
parentc66d5dd6b5b62e1435b95c0fb42f6bcddeb395ea (diff)
[PATCH] ppc64: Fixup platforms for new ppc_md.idle
This patch fixes up iSeries, pSeries, pmac and maple to set the correct idle function for each platform. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/ppc64/kernel/maple_setup.c')
-rw-r--r--arch/ppc64/kernel/maple_setup.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/ppc64/kernel/maple_setup.c b/arch/ppc64/kernel/maple_setup.c
index da8900b51f4..bb55b5a5691 100644
--- a/arch/ppc64/kernel/maple_setup.c
+++ b/arch/ppc64/kernel/maple_setup.c
@@ -177,6 +177,8 @@ void __init maple_setup_arch(void)
#ifdef CONFIG_DUMMY_CONSOLE
conswitchp = &dummy_con;
#endif
+
+ printk(KERN_INFO "Using native/NAP idle loop\n");
}
/*
@@ -297,4 +299,5 @@ struct machdep_calls __initdata maple_md = {
.get_rtc_time = maple_get_rtc_time,
.calibrate_decr = generic_calibrate_decr,
.progress = maple_progress,
+ .idle_loop = native_idle,
};