watchdog: hard lockup message should end with a newline
PATCH 1/1 watchdog: hard lockup message should end with a newline
Separate print_modules() and hard lockup error message.
Before the patch:
NMI watchdog: Watchdog detected hard LOCKUP on cpu 1Modules linked in: nls_cp437
Signed-off-by Sergey Senozhatsky <[email protected]>
--- kernel/watchdog_hld.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
kernel/watchdog_hld.c +2 -1
@@ -135,7 +135,8 @@ static void watchdog_overflow_callback(struct perf_event *event,if (__this_cpu_read (hard_watchdog_warn) == true)return ; -pr_emerg ("Watchdog detected hard LOCKUP on cpu %d" , this_cpu); +pr_emerg ("Watchdog detected hard LOCKUP on cpu %d\n" , + this_cpu);print_modules ();print_irqtrace_events (current);if (regs)
Signature · 1 line
2.21.0