Messages in this thread Patch in this message | | | Date | Mon, 21 Jun 2004 17:01:25 +0200 | From | Andi Kleen <> | Subject | Re: 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/
| |