]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - kernel/watchdog.c
kernel/watchdog: Prevent false positives with turbo modes
[karo-tx-linux.git] / kernel / watchdog.c
index cabe3e9fb620f6cf3ff557d1b6957bd358a2d474..f5d52024f6b72a9d1354b1a44c12c3e3b6af06a9 100644 (file)
@@ -9,7 +9,7 @@
  * to those contributors as well.
  */
 
-#define pr_fmt(fmt) "NMI watchdog: " fmt
+#define pr_fmt(fmt) "watchdog: " fmt
 
 #include <linux/mm.h>
 #include <linux/cpu.h>
@@ -240,6 +240,7 @@ static void set_sample_period(void)
         * hardlockup detector generates a warning
         */
        sample_period = get_softlockup_thresh() * ((u64)NSEC_PER_SEC / 5);
+       watchdog_update_hrtimer_threshold(sample_period);
 }
 
 /* Commands for resetting the watchdog */