aboutsummaryrefslogtreecommitdiff
path: root/arch/sparc/kernel/smp_32.c
diff options
context:
space:
mode:
authorSam Ravnborg <[email protected]>2013-04-11 21:38:50 +0200
committerThomas Gleixner <[email protected]>2013-04-13 21:36:27 +0200
commit87fa05aeb3a5e8e21b1a5510eef6983650eff092 (patch)
tree8d1cdcf61ffee47cf1ed7898ae6219f05096529c /arch/sparc/kernel/smp_32.c
parent781b0e870c72be8a24c074073547e74e7b9bffd6 (diff)
sparc: Use generic idle loop
Add generic cpu_idle support sparc32: - replace call to cpu_idle() with cpu_startup_entry() - add arch_cpu_idle() sparc64: - smp_callin() now include cpu_startup_entry() call so we can skip calling cpu_idle from assembler - add arch_cpu_idle() and arch_cpu_idle_dead() Signed-off-by: Sam Ravnborg <[email protected]> Reviewed-by: "Srivatsa S. Bhat" <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Acked-by: David Miller <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'arch/sparc/kernel/smp_32.c')
-rw-r--r--arch/sparc/kernel/smp_32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/kernel/smp_32.c b/arch/sparc/kernel/smp_32.c
index 9e7e6d718367..e3f2b81c23f1 100644
--- a/arch/sparc/kernel/smp_32.c
+++ b/arch/sparc/kernel/smp_32.c
@@ -369,7 +369,7 @@ void __cpuinit sparc_start_secondary(void *arg)
local_irq_enable();
wmb();
- cpu_idle();
+ cpu_startup_entry(CPUHP_ONLINE);
/* We should never reach here! */
BUG();