aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/kernel/io_apic_32.c2
-rw-r--r--arch/x86/kernel/io_apic_64.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/kernel/io_apic_32.c b/arch/x86/kernel/io_apic_32.c
index e7b7655c4e94..41218ac75d10 100644
--- a/arch/x86/kernel/io_apic_32.c
+++ b/arch/x86/kernel/io_apic_32.c
@@ -2199,7 +2199,9 @@ static inline void __init check_timer(void)
2199 else 2199 else
2200 add_pin_to_irq(0, apic2, pin2); 2200 add_pin_to_irq(0, apic2, pin2);
2201 if (nmi_watchdog == NMI_IO_APIC) { 2201 if (nmi_watchdog == NMI_IO_APIC) {
2202 disable_8259A_irq(0);
2202 setup_nmi(); 2203 setup_nmi();
2204 enable_8259A_irq(0);
2203 } 2205 }
2204 goto out; 2206 goto out;
2205 } 2207 }
diff --git a/arch/x86/kernel/io_apic_64.c b/arch/x86/kernel/io_apic_64.c
index 6433fc99f1f9..aa45a85c4d11 100644
--- a/arch/x86/kernel/io_apic_64.c
+++ b/arch/x86/kernel/io_apic_64.c
@@ -1702,7 +1702,9 @@ static inline void __init check_timer(void)
1702 apic_printk(APIC_VERBOSE," works.\n"); 1702 apic_printk(APIC_VERBOSE," works.\n");
1703 nmi_watchdog_default(); 1703 nmi_watchdog_default();
1704 if (nmi_watchdog == NMI_IO_APIC) { 1704 if (nmi_watchdog == NMI_IO_APIC) {
1705 disable_8259A_irq(0);
1705 setup_nmi(); 1706 setup_nmi();
1707 enable_8259A_irq(0);
1706 } 1708 }
1707 goto out; 1709 goto out;
1708 } 1710 }