diff options
author | Sergey Senozhatsky <[email protected]> | 2019-04-18 17:50:41 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2019-04-19 09:46:05 -0700 |
commit | 8f4a8c12cafe54535f334a09be7ec7f236134764 (patch) | |
tree | 5cd30f0189ee3961e6befc7471172e861ee79cc1 | |
parent | 40453c4f9bb6d166a56a102a8c51dd24b0801557 (diff) |
kernel/watchdog_hld.c: 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
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Sergey Senozhatsky <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
-rw-r--r-- | kernel/watchdog_hld.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/watchdog_hld.c b/kernel/watchdog_hld.c index 71381168dede..247bf0b1582c 100644 --- a/kernel/watchdog_hld.c +++ b/kernel/watchdog_hld.c @@ -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) |