From: Glauber de Oliveira Costa Date: Wed, 19 Mar 2008 17:25:07 +0000 (-0300) Subject: x86: don't call local_irq_enable before entering idle X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3ff8171feecfcdee46be7d6e92259debe46ac87f;p=openwrt%2Fstaging%2Fblogic.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 Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/kernel/smpboot_32.c b/arch/x86/kernel/smpboot_32.c index 0bfb31e13540..6c16165abf11 100644 --- a/arch/x86/kernel/smpboot_32.c +++ b/arch/x86/kernel/smpboot_32.c @@ -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(); }