]> Pileus Git - ~andy/linux/blobdiff - include/linux/nmi.h
tifm_core: add suspend/resume infrastructure for tifm devices
[~andy/linux] / include / linux / nmi.h
index c8f4d2f627d70099019f2e423cb8aec909d48034..acb4ed1302479ac4f1833466905024e013de41e7 100644 (file)
@@ -4,6 +4,7 @@
 #ifndef LINUX_NMI_H
 #define LINUX_NMI_H
 
+#include <linux/sched.h>
 #include <asm/irq.h>
 
 /**
  * disables interrupts for a long time. This call is stateless.
  */
 #ifdef ARCH_HAS_NMI_WATCHDOG
+#include <asm/nmi.h>
 extern void touch_nmi_watchdog(void);
 #else
-# define touch_nmi_watchdog() do { } while(0)
+# define touch_nmi_watchdog() touch_softlockup_watchdog()
+#endif
+
+#ifndef trigger_all_cpu_backtrace
+#define trigger_all_cpu_backtrace() do { } while (0)
 #endif
 
 #endif