|
@@ -17,6 +17,7 @@
|
|
|
#include <linux/nmi.h>
|
|
|
#include <linux/module.h>
|
|
|
|
|
|
+#ifdef ARCH_HAS_NMI_WATCHDOG
|
|
|
#ifdef CONFIG_HARDLOCKUP_DETECTOR
|
|
|
u64 hw_nmi_get_sample_period(void)
|
|
|
{
|
|
@@ -31,6 +32,8 @@ void touch_nmi_watchdog(void)
|
|
|
}
|
|
|
EXPORT_SYMBOL(touch_nmi_watchdog);
|
|
|
#endif
|
|
|
+#endif
|
|
|
+
|
|
|
#ifdef arch_trigger_all_cpu_backtrace
|
|
|
/* For reliability, we're prepared to waste bits here. */
|
|
|
static DECLARE_BITMAP(backtrace_mask, NR_CPUS) __read_mostly;
|