mirror of https://gitee.com/openkylin/linux.git
x86: don't call local_irq_enable before entering idle
the call to idle is guaranteed to do it. Signed-off-by: Glauber Costa <gcosta@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
3b22ec7b13
commit
3ff8171fee
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue