diff options
author | Cyrill Gorcunov <gorcunov@gmail.com> | 2008-05-29 22:32:30 +0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-08 09:13:12 +0200 |
commit | 067fa0ff0c89d25c2136ed095c72213089d4bb4e (patch) | |
tree | a17b0e379705b8b32917a0ee53ceacc74badc231 /arch/x86/kernel/io_apic_64.c | |
parent | b1b57ee135ac7614184faa7d7345b5e7098cb81d (diff) | |
download | op-kernel-dev-067fa0ff0c89d25c2136ed095c72213089d4bb4e.zip op-kernel-dev-067fa0ff0c89d25c2136ed095c72213089d4bb4e.tar.gz |
x86: IO-APIC - use NMI_NONE instead of numeric constant
Not sure but maybe it is better to use NMI_DISABLED,
will take a look. But for now this patch is not change
anything in logic so it will not hurt/broke the kernel.
For most cases nmi_watchdog assignment is by one of NMI_*
macro so I think there it make sense too.
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/io_apic_64.c')
-rw-r--r-- | arch/x86/kernel/io_apic_64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/io_apic_64.c b/arch/x86/kernel/io_apic_64.c index 8991567..40a184d 100644 --- a/arch/x86/kernel/io_apic_64.c +++ b/arch/x86/kernel/io_apic_64.c @@ -1736,7 +1736,7 @@ static inline void __init check_timer(void) if (nmi_watchdog == NMI_IO_APIC) { printk(KERN_WARNING "timer doesn't work through the IO-APIC - disabling NMI Watchdog!\n"); - nmi_watchdog = 0; + nmi_watchdog = NMI_NONE; } apic_printk(APIC_VERBOSE, KERN_INFO "...trying to set up timer as Virtual Wire IRQ..."); |