* [PATCH] 2.4 bluesmoke fixes.
@ 2002-02-26 23:52 Dave Jones
0 siblings, 0 replies; only message in thread
From: Dave Jones @ 2002-02-26 23:52 UTC (permalink / raw)
To: Marcelo Tossati, Alan Cox; +Cc: Linux Kernel
Seems every time I look at this file I spot something else wrong.
First bug is a simple ordering problem.
Second bug already got fixed once recently, and somehow got lost.
Weird. Applies to 2.4.18, and any derivative thereof.
diff -urN --exclude-from=/home/davej/.exclude linux-2.4.18-ac2/arch/i386/kernel/bluesmoke.c linux-2.4.18-ac2-dj/arch/i386/kernel/bluesmoke.c
--- linux-2.4.18-ac2/arch/i386/kernel/bluesmoke.c Tue Feb 26 23:44:17 2002
+++ linux-2.4.18-ac2-dj/arch/i386/kernel/bluesmoke.c Tue Feb 26 23:49:15 2002
@@ -41,13 +41,12 @@
if(high&(1<<27))
{
rdmsr(MSR_IA32_MC0_MISC+i*4, alow, ahigh);
- printk("[%08x%08x]", alow, ahigh);
+ printk("[%08x%08x]", ahigh, alow);
}
if(high&(1<<26))
{
rdmsr(MSR_IA32_MC0_ADDR+i*4, alow, ahigh);
- printk(" at %08x%08x",
- high, low);
+ printk(" at %08x%08x", ahigh, alow);
}
printk("\n");
/* Clear it */
--
Dave Jones. http://www.codemonkey.org.uk
SuSE Labs.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-02-26 23:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-26 23:52 [PATCH] 2.4 bluesmoke fixes Dave Jones
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox