hc
2023-11-06 e3e12f52b214121840b44c91de5b3e5af5d3eb84
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);