2005-09-09 02:36:52

by Chuck Ebbert

[permalink] [raw]
Subject: [patch 2.6.13] x86_64: Clean up nmi error message

The x86_64 nmi code is missing a newline in one of its messages.

I added a space before the CPU id for readability and killed the trailing
space on the previous line as well.


Signed-off-by: Chuck Ebbert <[email protected]>


arch/x86_64/kernel/nmi.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

--- 2.6.13-64.orig/arch/x86_64/kernel/nmi.c
+++ 2.6.13-64/arch/x86_64/kernel/nmi.c
@@ -486,8 +486,8 @@ void nmi_watchdog_tick (struct pt_regs *
== NOTIFY_STOP) {
local_set(&__get_cpu_var(alert_counter), 0);
return;
- }
- die_nmi("NMI Watchdog detected LOCKUP on CPU%d", regs);
+ }
+ die_nmi("NMI Watchdog detected LOCKUP on CPU %d\n", regs);
}
} else {
__get_cpu_var(last_irq_sum) = sum;
__
Chuck


2005-09-09 02:49:17

by Andi Kleen

[permalink] [raw]
Subject: Re: [patch 2.6.13] x86_64: Clean up nmi error message

On Friday 09 September 2005 04:33, Chuck Ebbert wrote:
> The x86_64 nmi code is missing a newline in one of its messages.
>
> I added a space before the CPU id for readability and killed the trailing
> space on the previous line as well.

Thanks merged.
-Andi