2002-11-03 16:41:03

by Zwane Mwaikambo

[permalink] [raw]
Subject: [PATCH][2.5-AC] Start from bank 0 for P4 MCE init

Index: linux-2.5.44-ac5/arch/i386/kernel/cpu/mcheck/p4.c
===================================================================
RCS file: /build/cvsroot/linux-2.5.44-ac5/arch/i386/kernel/cpu/mcheck/p4.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 p4.c
--- linux-2.5.44-ac5/arch/i386/kernel/cpu/mcheck/p4.c 3 Nov 2002 07:20:04 -0000 1.1.1.1
+++ linux-2.5.44-ac5/arch/i386/kernel/cpu/mcheck/p4.c 3 Nov 2002 16:47:14 -0000
@@ -220,7 +220,7 @@
wrmsr(MSR_IA32_MCG_CTL, 0xffffffff, 0xffffffff);
banks = l&0xff;

- for(i=1; i<banks; i++)
+ for(i=0; i<banks; i++)
wrmsr(MSR_IA32_MC0_CTL+4*i, 0xffffffff, 0xffffffff);

for(i=0; i<banks; i++)

--
function.linuxpower.ca