lkml.org 
[lkml]   [2004]   [Jun]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 2.6.7 shows K7 with Pentium Pro erratum [Re: New version of early CPU detect]
On Mon, 21 Jun 2004 14:04:16 +0200
Janos Farkas <jf-ml-k1-1087813225@lk8rp.mail.xeon.eu.org> wrote:


>
> As it is, the family/model numbers seems to match, but it's obviously an
> AMD product..


Does this patch fix the problem?


-Andi


diff -u linux-2.6.7-work/arch/i386/kernel/cpu/common.c-o linux-2.6.7-work/arch/i386/kernel/cpu/common.c
--- linux-2.6.7-work/arch/i386/kernel/cpu/common.c-o 2004-06-16 12:22:43.000000000 +0200
+++ linux-2.6.7-work/arch/i386/kernel/cpu/common.c 2004-06-21 16:59:08.000000000 +0200
@@ -143,8 +143,9 @@
char *v = c->x86_vendor_id;
int i;

+ c->x86_vendor = X86_VENDOR_UNKNOWN;
for (i = 0; i < X86_VENDOR_NUM; i++) {
- if (cpu_devs[i]) {
+ if (cpu_devs[i] || early) {
if (!strcmp(v,cpu_devs[i]->c_ident[0]) ||
(cpu_devs[i]->c_ident[1] &&
!strcmp(v,cpu_devs[i]->c_ident[1]))) {
-
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/
\
 
 \ /
  Last update: 2005-03-22 14:04    [W:0.685 / U:0.472 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site