]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - kernel/watchdog.c
panic: add TAINT_SOFTLOCKUP
[mirror_ubuntu-bionic-kernel.git] / kernel / watchdog.c
index 51b29e9d2ba65a700c15cb71923bce1359ebfa41..a8d6914030fe6ec5aa9e08154ce29b480d2c0745 100644 (file)
@@ -368,6 +368,7 @@ static enum hrtimer_restart watchdog_timer_fn(struct hrtimer *hrtimer)
                        smp_mb__after_atomic();
                }
 
+               add_taint(TAINT_SOFTLOCKUP, LOCKDEP_STILL_OK);
                if (softlockup_panic)
                        panic("softlockup: hung tasks");
                __this_cpu_write(soft_watchdog_warn, true);