hc
2024-05-10 61598093bbdd283a7edc367d900f223070ead8d2
kernel/kernel/watchdog_hld.c
....@@ -114,13 +114,13 @@
114114 /* Ensure the watchdog never gets throttled */
115115 event->hw.interrupts = 0;
116116
117
+ if (!watchdog_check_timestamp())
118
+ return;
119
+
117120 if (__this_cpu_read(watchdog_nmi_touch) == true) {
118121 __this_cpu_write(watchdog_nmi_touch, false);
119122 return;
120123 }
121
-
122
- if (!watchdog_check_timestamp())
123
- return;
124124
125125 /* check for a hardlockup
126126 * This is done by making sure our timer interrupt
....@@ -135,7 +135,8 @@
135135 if (__this_cpu_read(hard_watchdog_warn) == true)
136136 return;
137137
138
- pr_emerg("Watchdog detected hard LOCKUP on cpu %d", this_cpu);
138
+ pr_emerg("Watchdog detected hard LOCKUP on cpu %d\n",
139
+ this_cpu);
139140 print_modules();
140141 print_irqtrace_events(current);
141142 if (regs)