]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - kernel/watchdog.c
kernel/watchdog: Prevent false positives with turbo modes
[mirror_ubuntu-artful-kernel.git] / kernel / watchdog.c
index 06d3389bca0df01c8a730f7b270767f6ed35a8a9..f5d52024f6b72a9d1354b1a44c12c3e3b6af06a9 100644 (file)
@@ -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 */