|
@@ -517,6 +517,11 @@ int proc_dowatchdog(struct ctl_table *table, int write,
|
|
return ret;
|
|
return ret;
|
|
|
|
|
|
set_sample_period();
|
|
set_sample_period();
|
|
|
|
+ /*
|
|
|
|
+ * Watchdog threads shouldn't be enabled if they are
|
|
|
|
+ * disabled. The 'watchdog_disabled' variable check in
|
|
|
|
+ * watchdog_*_all_cpus() function takes care of this.
|
|
|
|
+ */
|
|
if (watchdog_enabled && watchdog_thresh)
|
|
if (watchdog_enabled && watchdog_thresh)
|
|
watchdog_enable_all_cpus();
|
|
watchdog_enable_all_cpus();
|
|
else
|
|
else
|