Commit 3ff8171f authored by Glauber de Oliveira Costa's avatar Glauber de Oliveira Costa Committed by Ingo Molnar

x86: don't call local_irq_enable before entering idle

the call to idle is guaranteed to do it.
Signed-off-by: default avatarGlauber Costa <gcosta@redhat.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 3b22ec7b
...@@ -214,9 +214,6 @@ static void __cpuinit start_secondary(void *unused) ...@@ -214,9 +214,6 @@ static void __cpuinit start_secondary(void *unused)
unlock_ipi_call_lock(); unlock_ipi_call_lock();
per_cpu(cpu_state, smp_processor_id()) = CPU_ONLINE; per_cpu(cpu_state, smp_processor_id()) = CPU_ONLINE;
/* We can take interrupts now: we're officially "up". */
local_irq_enable();
wmb(); wmb();
cpu_idle(); cpu_idle();
} }
......
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