All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH -tip] nmi: use predefined numbers instead of hardcoded one
@ 2009-06-07  8:19 Cyrill Gorcunov
  2009-06-07 14:24 ` [tip:x86/cleanups] x86, nmi: Use " tip-bot for Cyrill Gorcunov
  0 siblings, 1 reply; 2+ messages in thread
From: Cyrill Gorcunov @ 2009-06-07  8:19 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: H. Peter Anvin, Thomas Gleixner, LKML

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
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-06-07 14:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-07  8:19 [PATCH -tip] nmi: use predefined numbers instead of hardcoded one Cyrill Gorcunov
2009-06-07 14:24 ` [tip:x86/cleanups] x86, nmi: Use " tip-bot for Cyrill Gorcunov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.