hc
2023-11-22 d0a428a6556ea5a006e22e28b0b1cd037885fe20
kernel/kernel/watchdog.c
....@@ -604,7 +604,7 @@
604604 * Start the timer first to prevent the NMI watchdog triggering
605605 * before the timer has a chance to fire.
606606 */
607
- hrtimer_init(hrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_REL);
607
+ hrtimer_init(hrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_REL_HARD);
608608 hrtimer->function = watchdog_timer_fn;
609609 hrtimer_start(hrtimer, ns_to_ktime(sample_period),
610610 HRTIMER_MODE_REL_PINNED);