]> err.no Git - linux-2.6/commitdiff
x86: wipe get_nmi_reason out of nmi_64.h
authorGlauber de Oliveira Costa <gcosta@redhat.com>
Wed, 19 Mar 2008 17:25:35 +0000 (14:25 -0300)
committerIngo Molnar <mingo@elte.hu>
Thu, 17 Apr 2008 15:41:01 +0000 (17:41 +0200)
use mach_traps when it is supposed to be used.

Signed-off-by: Glauber Costa <gcosta@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/nmi_64.c
arch/x86/kernel/traps_64.c
include/asm-x86/nmi_64.h

index 9a4fde74bee119f393a6d05c7207f9a23531a4d1..11f9130ac513e732fb6f9832d3af32c07bd4bd05 100644 (file)
@@ -26,6 +26,8 @@
 #include <asm/proto.h>
 #include <asm/mce.h>
 
+#include <mach_traps.h>
+
 int unknown_nmi_panic;
 int nmi_watchdog_enabled;
 int panic_on_unrecovered_nmi;
index 0454666819117b93d768de5f7f39304130143b0e..33292ac814f4d676dac432403398f2a7c325fa96 100644 (file)
@@ -33,6 +33,8 @@
 #include <linux/kdebug.h>
 #include <linux/utsname.h>
 
+#include <mach_traps.h>
+
 #if defined(CONFIG_EDAC)
 #include <linux/edac.h>
 #endif
index 2eeb74e5f3ff6d13c2635f50a8b9f3edf1c7a514..94a5b19e36207492c30b44ff05b75070de7925d0 100644 (file)
@@ -36,8 +36,6 @@ static inline void unset_nmi_pm_callback(struct pm_dev * dev)
 extern void default_do_nmi(struct pt_regs *);
 extern void die_nmi(char *str, struct pt_regs *regs, int do_panic);
 
-#define get_nmi_reason() inb(0x61)
-
 extern int unknown_nmi_panic;
 extern int nmi_watchdog_enabled;