aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/cpu.c')
-rw-r--r--kernel/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/cpu.c b/kernel/cpu.c
index e58b99ada3d..05c46bae5e5 100644
--- a/kernel/cpu.c
+++ b/kernel/cpu.c
@@ -316,7 +316,7 @@ static int __cpuinit _cpu_up(unsigned int cpu, int tasks_frozen)
316 } 316 }
317 317
318 /* Arch-specific enabling code. */ 318 /* Arch-specific enabling code. */
319 ret = __cpu_up(cpu, NULL); 319 ret = __cpu_up(cpu, idle_thread_get(cpu));
320 if (ret != 0) 320 if (ret != 0)
321 goto out_notify; 321 goto out_notify;
322 BUG_ON(!cpu_online(cpu)); 322 BUG_ON(!cpu_online(cpu));