mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH][trivial] line up 'ESR value before/after enabling vector' messages
@ 2004-08-10 23:56 Jesper Juhl
  2004-08-11  6:23 ` Ingo Molnar
  0 siblings, 1 reply; 4+ messages in thread
From: Jesper Juhl @ 2004-08-10 23:56 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: LKML, Andrew Morton


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@dif.dk>

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-08-11 11:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-10 23:56 [PATCH][trivial] line up 'ESR value before/after enabling vector' messages Jesper Juhl
2004-08-11  6:23 ` Ingo Molnar
2004-08-11 10:47   ` Dave Jones
2004-08-11 10:54     ` Ingo Molnar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®