提交 3ff8171f 编写于 作者: G Glauber de Oliveira Costa 提交者: Ingo Molnar

x86: don't call local_irq_enable before entering idle

the call to idle is guaranteed to do it.
Signed-off-by: NGlauber Costa <gcosta@redhat.com>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 3b22ec7b
......@@ -214,9 +214,6 @@ static void __cpuinit start_secondary(void *unused)
unlock_ipi_call_lock();
per_cpu(cpu_state, smp_processor_id()) = CPU_ONLINE;
/* We can take interrupts now: we're officially "up". */
local_irq_enable();
wmb();
cpu_idle();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册