aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/watchdog.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/watchdog.c b/kernel/watchdog.c
index fa71aebda4ff..89eadbb9cefe 100644
--- a/kernel/watchdog.c
+++ b/kernel/watchdog.c
@@ -473,6 +473,9 @@ static void watchdog_disable_all_cpus(void)
473{ 473{
474 int cpu; 474 int cpu;
475 475
476 if (no_watchdog)
477 return;
478
476 for_each_online_cpu(cpu) 479 for_each_online_cpu(cpu)
477 watchdog_disable(cpu); 480 watchdog_disable(cpu);
478 481