path: root/arch/sparc/kernel
diff options
authorThomas Gleixner <>2016-02-26 18:43:40 +0000
committerThomas Gleixner <>2016-03-01 20:36:57 +0100
commitfc6d73d67436e7784758a831227bd019547a3f73 (patch)
tree81b2941d0c2c1956251a24586a91af8dd2ecea6c /arch/sparc/kernel
parent1cf4f629d9d246519a1e76c021806f2a51ddba4d (diff)
arch/hotplug: Call into idle with a proper state
Let the non boot cpus call into idle with the corresponding hotplug state, so the hotplug core can handle the further bringup. That's a first step to convert the boot side of the hotplugged cpus to do all the synchronization with the other side through the state machine. For now it'll only start the hotplug thread and kick the full bringup of the cpu. Signed-off-by: Thomas Gleixner <> Cc: Cc: Rik van Riel <> Cc: Rafael Wysocki <> Cc: "Srivatsa S. Bhat" <> Cc: Peter Zijlstra <> Cc: Arjan van de Ven <> Cc: Sebastian Siewior <> Cc: Rusty Russell <> Cc: Steven Rostedt <> Cc: Oleg Nesterov <> Cc: Tejun Heo <> Cc: Andrew Morton <> Cc: Paul McKenney <> Cc: Linus Torvalds <> Cc: Paul Turner <> Link: Signed-off-by: Thomas Gleixner <>
Diffstat (limited to 'arch/sparc/kernel')
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc/kernel/smp_32.c b/arch/sparc/kernel/smp_32.c
index b3a5d81b20f0..fb30e7c6a5b1 100644
--- a/arch/sparc/kernel/smp_32.c
+++ b/arch/sparc/kernel/smp_32.c
@@ -364,7 +364,7 @@ static void sparc_start_secondary(void *arg)
- cpu_startup_entry(CPUHP_ONLINE);
+ cpu_startup_entry(CPUHP_AP_ONLINE_IDLE);
/* We should never reach here! */
diff --git a/arch/sparc/kernel/smp_64.c b/arch/sparc/kernel/smp_64.c
index 19cd08d18672..8a6151a628ce 100644
--- a/arch/sparc/kernel/smp_64.c
+++ b/arch/sparc/kernel/smp_64.c
@@ -134,7 +134,7 @@ void smp_callin(void)
- cpu_startup_entry(CPUHP_ONLINE);
+ cpu_startup_entry(CPUHP_AP_ONLINE_IDLE);
void cpu_panic(void)