Fix initial Linux IRQ state for x86_64
PATCH 2/7 Fix initial Linux IRQ state for x86_64
Philippe, this is the solution for the BUG I posted privately. Not sure if we need the first hunk, but the second is mandatory for SMP.
Jan
--- arch/x86_64/kernel/apic.c | 2 ++ 1 file changed, 2 insertions(+)
arch/x86_64/kernel/apic.c +2 -0
@@ -875,6 +875,7 @@ void __init setup_boot_APIC_clock (void)setup_APIC_timer (calibration_result);local_irq_enable_hw (); +local_irq_enable (); }void __cpuinit setup_secondary_APIC_clock (void )
@@ -882,6 +883,7 @@ void __cpuinit setup_secondary_APIC_cloclocal_irq_disable_hw ();/* FIXME: Do we need this? --RR */ setup_APIC_timer (calibration_result);local_irq_enable_hw (); +local_irq_enable (); }void disable_APIC_timer (void )