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.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/include/asm-x86_64/nmi.h b/include/asm-x86_64/nmi.h
index 8f02a2a416e6..8818c39d34e0 100644
--- a/include/asm-x86_64/nmi.h
+++ b/include/asm-x86_64/nmi.h
@@ -7,25 +7,6 @@
7#include <linux/pm.h> 7#include <linux/pm.h>
8#include <asm/io.h> 8#include <asm/io.h>
9 9
10struct pt_regs;
11
12typedef int (*nmi_callback_t)(struct pt_regs * regs, int cpu);
13
14/**
15 * set_nmi_callback
16 *
17 * Set a handler for an NMI. Only one handler may be
18 * set. Return 1 if the NMI was handled.
19 */
20void set_nmi_callback(nmi_callback_t callback);
21
22/**
23 * unset_nmi_callback
24 *
25 * Remove the handler previously set.
26 */
27void unset_nmi_callback(void);
28
29/** 10/**
30 * do_nmi_callback 11 * do_nmi_callback
31 * 12 *
@@ -72,8 +53,6 @@ extern int reserve_evntsel_nmi(unsigned int);
72extern void release_evntsel_nmi(unsigned int); 53extern void release_evntsel_nmi(unsigned int);
73 54
74extern void setup_apic_nmi_watchdog (void *); 55extern void setup_apic_nmi_watchdog (void *);
75extern int reserve_lapic_nmi(void);
76extern void release_lapic_nmi(void);
77extern void disable_timer_nmi_watchdog(void); 56extern void disable_timer_nmi_watchdog(void);
78extern void enable_timer_nmi_watchdog(void); 57extern void enable_timer_nmi_watchdog(void);
79extern int nmi_watchdog_tick (struct pt_regs * regs, unsigned reason); 58extern int nmi_watchdog_tick (struct pt_regs * regs, unsigned reason);