Skip to contentSkip to conversation

2.4 bluesmoke fixes.

PATCH New Dave Jones 1 participant 1 message Feb 26, 2002

lore
Share & tools
lore

Dave Jones

author
#0 lore raw

PATCH 1/1 2.4 bluesmoke fixes.

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.

arch/i386/kernel/bluesmoke.c +2 -3
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
@@ -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 */
Signature · 2 lines
Dave Jones.                    http://www.codemonkey.org.uk
SuSE Labs.