From 102a0743326a03cd1a1202ceda21e175b7d3575c Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Tue, 20 Feb 2024 01:20:52 +0000 Subject: [PATCH] add new system file --- kernel/kernel/watchdog_hld.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel/kernel/watchdog_hld.c b/kernel/kernel/watchdog_hld.c index 247bf0b..1e8a49d 100644 --- a/kernel/kernel/watchdog_hld.c +++ b/kernel/kernel/watchdog_hld.c @@ -114,13 +114,13 @@ /* Ensure the watchdog never gets throttled */ event->hw.interrupts = 0; + if (!watchdog_check_timestamp()) + return; + if (__this_cpu_read(watchdog_nmi_touch) == true) { __this_cpu_write(watchdog_nmi_touch, false); return; } - - if (!watchdog_check_timestamp()) - return; /* check for a hardlockup * This is done by making sure our timer interrupt -- Gitblit v1.6.2