aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/nmi.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/nmi.h b/include/linux/nmi.h
index 1c451e6ecc1..17ccf44e7dc 100644
--- a/include/linux/nmi.h
+++ b/include/linux/nmi.h
@@ -16,7 +16,8 @@
16 */ 16 */
17#ifdef ARCH_HAS_NMI_WATCHDOG 17#ifdef ARCH_HAS_NMI_WATCHDOG
18#include <asm/nmi.h> 18#include <asm/nmi.h>
19#endif 19extern void touch_nmi_watchdog(void);
20#else
20#ifndef CONFIG_HARDLOCKUP_DETECTOR 21#ifndef CONFIG_HARDLOCKUP_DETECTOR
21static inline void touch_nmi_watchdog(void) 22static inline void touch_nmi_watchdog(void)
22{ 23{
@@ -25,6 +26,7 @@ static inline void touch_nmi_watchdog(void)
25#else 26#else
26extern void touch_nmi_watchdog(void); 27extern void touch_nmi_watchdog(void);
27#endif 28#endif
29#endif
28 30
29/* 31/*
30 * Create trigger_all_cpu_backtrace() out of the arch-provided 32 * Create trigger_all_cpu_backtrace() out of the arch-provided