aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched/idle.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/sched/idle.c')
-rw-r--r--kernel/sched/idle.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/kernel/sched/idle.c b/kernel/sched/idle.c
index 16f84142f2f4..f5516bae0c1b 100644
--- a/kernel/sched/idle.c
+++ b/kernel/sched/idle.c
@@ -347,21 +347,6 @@ EXPORT_SYMBOL_GPL(play_idle);
347 347
348void cpu_startup_entry(enum cpuhp_state state) 348void cpu_startup_entry(enum cpuhp_state state)
349{ 349{
350 /*
351 * This #ifdef needs to die, but it's too late in the cycle to
352 * make this generic (ARM and SH have never invoked the canary
353 * init for the non boot CPUs!). Will be fixed in 3.11
354 */
355#ifdef CONFIG_X86
356 /*
357 * If we're the non-boot CPU, nothing set the stack canary up
358 * for us. The boot CPU already has it initialized but no harm
359 * in doing it again. This is a good place for updating it, as
360 * we wont ever return from this function (so the invalid
361 * canaries already on the stack wont ever trigger).
362 */
363 boot_init_stack_canary();
364#endif
365 arch_cpu_idle_prepare(); 350 arch_cpu_idle_prepare();
366 cpuhp_online_idle(state); 351 cpuhp_online_idle(state);
367 while (1) 352 while (1)