|
@@ -26,12 +26,8 @@ static inline void touch_nmi_watchdog(void)
|
|
|
|
|
|
#if defined(CONFIG_HARDLOCKUP_DETECTOR)
|
|
|
extern void hardlockup_detector_disable(void);
|
|
|
-void watchdog_nmi_disable_all(void);
|
|
|
-void watchdog_nmi_enable_all(void);
|
|
|
#else
|
|
|
static inline void hardlockup_detector_disable(void) {}
|
|
|
-static inline void watchdog_nmi_disable_all(void) {}
|
|
|
-static inline void watchdog_nmi_enable_all(void) {}
|
|
|
#endif
|
|
|
|
|
|
/*
|
|
@@ -84,6 +80,15 @@ extern int proc_watchdog_cpumask(struct ctl_table *, int,
|
|
|
void __user *, size_t *, loff_t *);
|
|
|
extern int watchdog_suspend(void);
|
|
|
extern void watchdog_resume(void);
|
|
|
+#else
|
|
|
+static inline int watchdog_suspend(void)
|
|
|
+{
|
|
|
+ return 0;
|
|
|
+}
|
|
|
+
|
|
|
+static inline void watchdog_resume(void)
|
|
|
+{
|
|
|
+}
|
|
|
#endif
|
|
|
|
|
|
#ifdef CONFIG_HAVE_ACPI_APEI_NMI
|