Commit b9a09a06 authored by Yong Zhang's avatar Yong Zhang Committed by Ralf Baechle

MIPS: call set_cpu_online() on cpu being brought up with irq disabled

To prevent a problem as commit 5fbd036b [sched: Cleanup cpu_active madness]
and commit 2baab4e9 [sched: Fix select_fallback_rq() vs cpu_active/cpu_online]
try to resolve, move set_cpu_online() to the brought up CPU and with irq
Signed-off-by: 's avatarYong Zhang <>
Cc: Sergei Shtylyov <>
Cc: David Daney <>
Acked-by: 's avatarDavid Daney <>
Patchwork: 's avatarRalf Baechle <>
parent 5309bdac
......@@ -122,6 +122,8 @@ asmlinkage __cpuinit void start_secondary(void)
set_cpu_online(cpu, true);
cpu_set(cpu, cpu_callin_map);
......@@ -197,8 +199,6 @@ int __cpuinit __cpu_up(unsigned int cpu, struct task_struct *tidle)
while (!cpu_isset(cpu, cpu_callin_map))
set_cpu_online(cpu, true);
return 0;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment