diff options
author | Chris McDermott <lcm@us.ibm.com> | 2006-02-25 22:18:40 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-02-26 12:53:30 -0500 |
commit | 1f9921539208f6d88f600a801e333d718e4a13ff (patch) | |
tree | 2630bb5cf7ce4396c2e034fb333f673ed432008b | |
parent | e78256b8f3e2850ad55c2d69e1429e6c2607afd3 (diff) |
[PATCH] x86_64: Fix NMI watchdog on x460
[description from AK]
Old check for the IO-APIC watchdog during the timer check was wrong -
it obviously should only drop into this if the IO-APIC watchdog is used.
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r-- | arch/x86_64/kernel/io_apic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/kernel/io_apic.c b/arch/x86_64/kernel/io_apic.c index 2585c1d92b26..ffab8a756664 100644 --- a/arch/x86_64/kernel/io_apic.c +++ b/arch/x86_64/kernel/io_apic.c | |||
@@ -1850,7 +1850,7 @@ static inline void check_timer(void) | |||
1850 | } | 1850 | } |
1851 | printk(" failed.\n"); | 1851 | printk(" failed.\n"); |
1852 | 1852 | ||
1853 | if (nmi_watchdog) { | 1853 | if (nmi_watchdog == NMI_IO_APIC) { |
1854 | printk(KERN_WARNING "timer doesn't work through the IO-APIC - disabling NMI Watchdog!\n"); | 1854 | printk(KERN_WARNING "timer doesn't work through the IO-APIC - disabling NMI Watchdog!\n"); |
1855 | nmi_watchdog = 0; | 1855 | nmi_watchdog = 0; |
1856 | } | 1856 | } |