]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-i386/nmi.h
ARM: OMAP: Add support for Amstrad Delta keypad
[linux-2.6-omap-h63xx.git] / include / asm-i386 / nmi.h
index 64544cb85d6a40b4d06928a33c15728a5d265378..70a958a8e3816f738558ca33b00a49d3e14cd3a0 100644 (file)
@@ -33,11 +33,12 @@ extern int nmi_watchdog_tick (struct pt_regs * regs, unsigned reason);
 
 extern atomic_t nmi_active;
 extern unsigned int nmi_watchdog;
-#define NMI_DEFAULT     0
+#define NMI_DISABLED    -1
 #define NMI_NONE       0
 #define NMI_IO_APIC    1
 #define NMI_LOCAL_APIC 2
 #define NMI_INVALID    3
+#define NMI_DEFAULT    NMI_DISABLED
 
 struct ctl_table;
 struct file;
@@ -50,4 +51,14 @@ void __trigger_all_cpu_backtrace(void);
 
 #endif
 
+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);
+void stop_nmi(void);
+void restart_nmi(void);
+
 #endif /* ASM_NMI_H */