Skip to content

Commit

Permalink
x86: don't call local_irq_enable before entering idle
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Glauber de Oliveira Costa authored and Ingo Molnar committed Apr 17, 2008
1 parent 3b22ec7 commit 3ff8171
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions arch/x86/kernel/smpboot_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit 3ff8171

Please sign in to comment.