Messages in this thread Patch in this message | | | Date | Sun, 7 Jun 2009 12:19:37 +0400 | From | Cyrill Gorcunov <> | Subject | [PATCH -tip] nmi: use predefined numbers instead of hardcoded one |
| |
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> --- I should have it done long time ago but anyway.
arch/x86/include/asm/nmi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux-2.6.git/arch/x86/include/asm/nmi.h ===================================================================== --- linux-2.6.git.orig/arch/x86/include/asm/nmi.h +++ linux-2.6.git/arch/x86/include/asm/nmi.h @@ -64,7 +64,7 @@ static inline int nmi_watchdog_active(vo * 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
| |