summaryrefslogtreecommitdiffstats
path: root/include/asm-x86_64/nmi.h
diff options
context:
space:
mode:
authorAndi Kleen2007-05-02 19:27:20 +0200
committerAndi Kleen2007-05-02 19:27:20 +0200
commit05cb007dac9a50148daf87d0b9469e0cd05fd5e7 (patch)
tree06d013ba2ce29441b58cb458d739083bc87af148 /include/asm-x86_64/nmi.h
parent[PATCH] i386: Clean up NMI watchdog code (diff)
downloadkernel-qcow2-linux-05cb007dac9a50148daf87d0b9469e0cd05fd5e7.tar.gz
kernel-qcow2-linux-05cb007dac9a50148daf87d0b9469e0cd05fd5e7.tar.xz
kernel-qcow2-linux-05cb007dac9a50148daf87d0b9469e0cd05fd5e7.zip
[PATCH] x86-64: Use the 32bit wd_ops for 64bit too.
This mainly removes a lot of code, replacing it with calls into the new 32bit perfctr-watchdog.c Signed-off-by: Andi Kleen <ak@suse.de>
Diffstat (limited to 'include/asm-x86_64/nmi.h')
-rw-r--r--include/asm-x86_64/nmi.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/asm-x86_64/nmi.h b/include/asm-x86_64/nmi.h
index 72375e7d32a8..d0a7f53b1497 100644
--- a/include/asm-x86_64/nmi.h
+++ b/include/asm-x86_64/nmi.h
@@ -80,4 +80,13 @@ extern int unknown_nmi_panic;
void __trigger_all_cpu_backtrace(void);
#define trigger_all_cpu_backtrace() __trigger_all_cpu_backtrace()
+
+void lapic_watchdog_stop(void);
+int lapic_watchdog_init(unsigned nmi_hz);
+int lapic_wd_event(unsigned nmi_hz);
+unsigned lapic_adjust_nmi_hz(unsigned hz);
+int lapic_watchdog_ok(void);
+void disable_lapic_nmi_watchdog(void);
+void enable_lapic_nmi_watchdog(void);
+
#endif /* ASM_NMI_H */