summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/watchdog/softdog.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/watchdog/softdog.c b/drivers/watchdog/softdog.c
index 7a1096265f18..9f2530fadbdc 100644
--- a/drivers/watchdog/softdog.c
+++ b/drivers/watchdog/softdog.c
@@ -84,6 +84,8 @@ static enum hrtimer_restart softdog_fire(struct hrtimer *timer)
pr_crit("Triggered - Reboot ignored\n");
} else if (soft_panic) {
pr_crit("Initiating panic\n");
+ if (sysctl_hardlockup_all_cpu_backtrace && 1)
+ trigger_allbutself_cpu_backtrace();
panic("Software Watchdog Timer expired");
} else {
pr_crit("Initiating system reboot\n");