aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86_64/nmi.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86_64/nmi.h')
-rw-r--r--include/asm-x86_64/nmi.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/asm-x86_64/nmi.h b/include/asm-x86_64/nmi.h
index 5918136fd853..8f02a2a416e6 100644
--- a/include/asm-x86_64/nmi.h
+++ b/include/asm-x86_64/nmi.h
@@ -26,6 +26,14 @@ void set_nmi_callback(nmi_callback_t callback);
26 */ 26 */
27void unset_nmi_callback(void); 27void unset_nmi_callback(void);
28 28
29/**
30 * do_nmi_callback
31 *
32 * Check to see if a callback exists and execute it. Return 1
33 * if the handler exists and was handled successfully.
34 */
35int do_nmi_callback(struct pt_regs *regs, int cpu);
36
29#ifdef CONFIG_PM 37#ifdef CONFIG_PM
30 38
31/** Replace the PM callback routine for NMI. */ 39/** Replace the PM callback routine for NMI. */
@@ -68,7 +76,7 @@ extern int reserve_lapic_nmi(void);
68extern void release_lapic_nmi(void); 76extern void release_lapic_nmi(void);
69extern void disable_timer_nmi_watchdog(void); 77extern void disable_timer_nmi_watchdog(void);
70extern void enable_timer_nmi_watchdog(void); 78extern void enable_timer_nmi_watchdog(void);
71extern void nmi_watchdog_tick (struct pt_regs * regs, unsigned reason); 79extern int nmi_watchdog_tick (struct pt_regs * regs, unsigned reason);
72 80
73extern void nmi_watchdog_default(void); 81extern void nmi_watchdog_default(void);
74extern int setup_nmi_watchdog(char *); 82extern int setup_nmi_watchdog(char *);