]> err.no Git - linux-2.6/blobdiff - include/asm-x86_64/nmi.h
ocfs2: Unlock mutex in local alloc failure case
[linux-2.6] / include / asm-x86_64 / nmi.h
index d0a7f53b1497cf65442c2162716608378589c467..65b6acf3bb593af5edd4460d9a8bd3cdb32ff924 100644 (file)
@@ -64,11 +64,12 @@ extern int setup_nmi_watchdog(char *);
 
 extern atomic_t nmi_active;
 extern unsigned int nmi_watchdog;
-#define NMI_DEFAULT    -1
+#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;
@@ -88,5 +89,7 @@ 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 */