i386: Clear MCE flag on AMD K6
authorAndi Kleen <ak@suse.de>
Mon, 21 May 2007 12:31:47 +0000 (14:31 +0200)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 21 May 2007 16:56:57 +0000 (09:56 -0700)
commitc12ceb766eb5ac975c1145d51236fcdcf81a6578
treeecc1e605973e3877b99a45c858f57d5a4ceea1be
parent21124a82bb82e100369846ff2044dd5ea65fc934
i386: Clear MCE flag on AMD K6

It reports machine check capability in CPUID, but doesn't actually
implement all the necessary MSRs of the standard Intel machine
check architecture.

This fixes a boot failure on K6s recently introduced.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/i386/kernel/cpu/amd.c
arch/i386/kernel/cpu/mcheck/k7.c