[PATCH][trivial] line up 'ESR value before/after enabling vector'messages

From: Jesper Juhl
Date: Tue Aug 10 2004 - 18:58:45 EST



Here's a very trivial patch to make the values in these messages line up
nicely :

ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000

Much nicer to read when they line up like so :

ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000

We got the "CPU: After ... caps:" messages nicely lined up recently, now I
figured it was time for these ones as well..

Patches for both i386 and x86_64 below. Both diffs where created against
2.6.8-rc3-mm1

Signed-off-by: Jesper Juhl <juhl-lkml@xxxxxx>

diff -up linux-2.6.8-rc3-mm1-orig/arch/i386/kernel/apic.c linux-2.6.8-rc3-mm1/arch/i386/kernel/apic.c
--- linux-2.6.8-rc3-mm1-orig/arch/i386/kernel/apic.c 2004-08-05 21:48:50.000000000 +0200
+++ linux-2.6.8-rc3-mm1/arch/i386/kernel/apic.c 2004-08-11 01:40:56.000000000 +0200
@@ -473,7 +473,7 @@ void __init setup_local_APIC (void)
apic_write(APIC_ESR, 0);
value = apic_read(APIC_ESR);
apic_printk(APIC_VERBOSE, "ESR value after enabling vector:"
- " %08lx\n", value);
+ " %08lx\n", value);
} else {
if (esr_disable)
/*

diff -up linux-2.6.8-rc3-mm1-orig/arch/x86_64/kernel/apic.c linux-2.6.8-rc3-mm1/arch/x86_64/kernel/apic.c
--- linux-2.6.8-rc3-mm1-orig/arch/x86_64/kernel/apic.c 2004-08-05 21:48:52.000000000 +0200
+++ linux-2.6.8-rc3-mm1/arch/x86_64/kernel/apic.c 2004-08-11 01:41:52.000000000 +0200
@@ -421,7 +421,7 @@ void __init setup_local_APIC (void)
if (maxlvt > 3)
apic_write(APIC_ESR, 0);
value = apic_read(APIC_ESR);
- Dprintk("ESR value after enabling vector: %08x\n", value);
+ Dprintk("ESR value after enabling vector: %08x\n", value);
} else {
if (esr_disable)
/*


--
Jesper Juhl


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/