Re: [PATCH][2.5-AC] Start from bank 0 for P4 MCE init (resend)

Dave Jones (davej@codemonkey.org.uk)
Tue, 5 Nov 2002 13:35:00 +0000


On Mon, Nov 04, 2002 at 11:59:38PM -0500, Zwane Mwaikambo wrote:
> 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);

Ack. Already in my mcheck bits due to go to Linus today.

Dave

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