diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/watchdog.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/watchdog.h b/include/linux/watchdog.h index 395b70e0eccf..a746bf5216f8 100644 --- a/include/linux/watchdog.h +++ b/include/linux/watchdog.h | |||
@@ -137,4 +137,12 @@ extern int watchdog_init_timeout(struct watchdog_device *wdd, | |||
137 | extern int watchdog_register_device(struct watchdog_device *); | 137 | extern int watchdog_register_device(struct watchdog_device *); |
138 | extern void watchdog_unregister_device(struct watchdog_device *); | 138 | extern void watchdog_unregister_device(struct watchdog_device *); |
139 | 139 | ||
140 | #ifdef CONFIG_HARDLOCKUP_DETECTOR | ||
141 | void watchdog_nmi_disable_all(void); | ||
142 | void watchdog_nmi_enable_all(void); | ||
143 | #else | ||
144 | static inline void watchdog_nmi_disable_all(void) {} | ||
145 | static inline void watchdog_nmi_enable_all(void) {} | ||
146 | #endif | ||
147 | |||
140 | #endif /* ifndef _LINUX_WATCHDOG_H */ | 148 | #endif /* ifndef _LINUX_WATCHDOG_H */ |