summaryrefslogtreecommitdiffstats
path: root/include/asm-i386
diff options
context:
space:
mode:
authorDon Zickus2006-09-26 10:52:27 +0200
committerAndi Kleen2006-09-26 10:52:27 +0200
commit407984f1af259b31957c7c05075a454a751bb801 (patch)
tree1e9318b4255957c27a4dbacd84711604bf789393 /include/asm-i386
parent[PATCH] i386/x86-64: Remove un/set_nmi_callback and reserve/release_lapic_nmi... (diff)
downloadkernel-qcow2-linux-407984f1af259b31957c7c05075a454a751bb801.tar.gz
kernel-qcow2-linux-407984f1af259b31957c7c05075a454a751bb801.tar.xz
kernel-qcow2-linux-407984f1af259b31957c7c05075a454a751bb801.zip
[PATCH] x86: Add abilty to enable/disable nmi watchdog with sysctl
Adds a new /proc/sys/kernel/nmi call that will enable/disable the nmi watchdog. Signed-off-by: Don Zickus <dzickus@redhat.com> Signed-off-by: Andi Kleen <ak@suse.de>
Diffstat (limited to 'include/asm-i386')
-rw-r--r--include/asm-i386/nmi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-i386/nmi.h b/include/asm-i386/nmi.h
index 34d6bf063b6e..13b5d8311bf7 100644
--- a/include/asm-i386/nmi.h
+++ b/include/asm-i386/nmi.h
@@ -14,6 +14,7 @@
*/
int do_nmi_callback(struct pt_regs *regs, int cpu);
+extern int nmi_watchdog_enabled;
extern int avail_to_resrv_perfctr_nmi_bit(unsigned int);
extern int avail_to_resrv_perfctr_nmi(unsigned int);
extern int reserve_perfctr_nmi(unsigned int);