diff options
author | Cyrill Gorcunov <gorcunov@openvz.org> | 2009-06-07 12:19:37 +0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-06-07 16:22:02 +0200 |
commit | a4046f8d299e00e9855ae292527c2d66a42670eb (patch) | |
tree | c795507c475a133fd66fe995938b6e55e6d5dbde /arch | |
parent | 4aee2ad461889132bfb5a1518a9580d00e17008c (diff) |
x86, nmi: Use predefined numbers instead of hardcoded one
[ Impact: cleanup ]
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
LKML-Reference: <20090607081937.GC4547@lenovo>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/include/asm/nmi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/nmi.h b/arch/x86/include/asm/nmi.h index c45a0a568df..c9726440993 100644 --- a/arch/x86/include/asm/nmi.h +++ b/arch/x86/include/asm/nmi.h @@ -64,7 +64,7 @@ static inline int nmi_watchdog_active(void) * but since they are power of two we could use a * cheaper way --cvg */ - return nmi_watchdog & 0x3; + return nmi_watchdog & (NMI_LOCAL_APIC | NMI_IO_APIC); } #endif |