[PATCH 12/79] [PATCH] don't call local_irq_enable before entering idle

From: Glauber de Oliveira Costa
Date: Wed Mar 19 2008 - 15:40:52 EST


From: Glauber Costa <gcosta@xxxxxxxxxx>

the call to idle is guaranteed to do it.

Signed-off-by: Glauber Costa <gcosta@xxxxxxxxxx>
---
arch/x86/kernel/smpboot_32.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/arch/x86/kernel/smpboot_32.c b/arch/x86/kernel/smpboot_32.c
index 0bfb31e..6c16165 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();
}
--
1.5.0.6

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/