aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/nmi.h
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2008-05-24 11:36:35 -0400
committerThomas Gleixner <tglx@linutronix.de>2008-05-25 16:32:51 -0400
commit4b82b277707a39b97271439c475f186f63ec4692 (patch)
treedef1609a31a1ee3eef6bd2b22a9056bf7d513050 /include/asm-x86/nmi.h
parentd1b946b97d71423f365fa797d1428e1847c0bec1 (diff)
x86: nmi_32.c - add nmi_watchdog_default helper
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com> Cc: hpa@zytor.com Cc: mingo@redhat.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/asm-x86/nmi.h')
-rw-r--r--include/asm-x86/nmi.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/asm-x86/nmi.h b/include/asm-x86/nmi.h
index 7cd5b6a88138..1e8f34d7ab68 100644
--- a/include/asm-x86/nmi.h
+++ b/include/asm-x86/nmi.h
@@ -38,11 +38,9 @@ static inline void unset_nmi_pm_callback(struct pm_dev *dev)
38 38
39#ifdef CONFIG_X86_64 39#ifdef CONFIG_X86_64
40extern void default_do_nmi(struct pt_regs *); 40extern void default_do_nmi(struct pt_regs *);
41extern void nmi_watchdog_default(void);
42#else
43#define nmi_watchdog_default() do {} while (0)
44#endif 41#endif
45 42
43extern void nmi_watchdog_default(void);
46extern void die_nmi(char *str, struct pt_regs *regs, int do_panic); 44extern void die_nmi(char *str, struct pt_regs *regs, int do_panic);
47extern int check_nmi_watchdog(void); 45extern int check_nmi_watchdog(void);
48extern int nmi_watchdog_enabled; 46extern int nmi_watchdog_enabled;