x86, nmi: Use predefined numbers instead of hardcoded one
[pandora-kernel.git] / arch / x86 / include / asm / nmi.h
index c45a0a5..c972644 100644 (file)
@@ -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