aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/nmi.h
diff options
context:
space:
mode:
authorGlauber de Oliveira Costa <gcosta@redhat.com>2008-03-19 13:25:38 -0400
committerIngo Molnar <mingo@elte.hu>2008-04-17 11:41:01 -0400
commit50e440aa5323860d9e5960143b720e461ed0c582 (patch)
treee6c1c7ab8417069d2e3bac9695f61d96b4eb26c3 /include/asm-x86/nmi.h
parent4626df1801dc03de42f1c155417393b91c8f5d97 (diff)
x86: call nmi_watchdog_default in i386
this does not exist, so it will be an empty macro Signed-off-by: Glauber Costa <gcosta@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/nmi.h')
-rw-r--r--include/asm-x86/nmi.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asm-x86/nmi.h b/include/asm-x86/nmi.h
index 2b9419903476..1e363021e72f 100644
--- a/include/asm-x86/nmi.h
+++ b/include/asm-x86/nmi.h
@@ -39,6 +39,9 @@ static inline void unset_nmi_pm_callback(struct pm_dev *dev)
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 die_nmi(char *str, struct pt_regs *regs, int do_panic); 41extern void die_nmi(char *str, struct pt_regs *regs, int do_panic);
42extern void nmi_watchdog_default(void);
43#else
44#define nmi_watchdog_default() do {} while (0)
42#endif 45#endif
43 46
44extern int check_nmi_watchdog(void); 47extern int check_nmi_watchdog(void);
@@ -50,7 +53,6 @@ extern int reserve_perfctr_nmi(unsigned int);
50extern void release_perfctr_nmi(unsigned int); 53extern void release_perfctr_nmi(unsigned int);
51extern int reserve_evntsel_nmi(unsigned int); 54extern int reserve_evntsel_nmi(unsigned int);
52extern void release_evntsel_nmi(unsigned int); 55extern void release_evntsel_nmi(unsigned int);
53extern void nmi_watchdog_default(void);
54 56
55extern void setup_apic_nmi_watchdog(void *); 57extern void setup_apic_nmi_watchdog(void *);
56extern void stop_apic_nmi_watchdog(void *); 58extern void stop_apic_nmi_watchdog(void *);