[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070429234625.C1DD6150F2@wotan.suse.de>
Date: Mon, 30 Apr 2007 01:46:25 +0200 (CEST)
From: Andi Kleen <ak@...e.de>
To: Joachim Deguara <joachim.deguara@....com>, patches@...-64.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] [16/26] i386: Enable machine check for AMD Family 10
From: Joachim Deguara <joachim.deguara@....com>
We don't check for any specific family because the code is generic
to all systems supporting the Intel machine check architecture.
Just check the CPUID bit instead
Signed-off-by: Andi Kleen <ak@...e.de>
---
arch/i386/kernel/cpu/mcheck/mce.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux/arch/i386/kernel/cpu/mcheck/mce.c
===================================================================
--- linux.orig/arch/i386/kernel/cpu/mcheck/mce.c
+++ linux/arch/i386/kernel/cpu/mcheck/mce.c
@@ -38,7 +38,7 @@ void mcheck_init(struct cpuinfo_x86 *c)
switch (c->x86_vendor) {
case X86_VENDOR_AMD:
- if (c->x86==6 || c->x86==15)
+ if (boot_cpu_has(X86_FEATURE_MCA))
amd_mcheck_init(c);
break;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists