Re: 2.6.7 shows K7 with Pentium Pro erratum [Re: New version ofearly CPU detect] II

From: Andi Kleen
Date: Mon Jun 21 2004 - 08:34:38 EST


On Mon, 21 Jun 2004 14:04:16 +0200
Janos Farkas <jf-ml-k1-1087813225@xxxxxxxxxxxxxxxxxxxxxx> wrote:
[...]

Please ignore the previous patch I sent. This patch should actually fix it.

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 17:30:57.000000000 +0200
@@ -473,7 +473,6 @@

void __init early_cpu_init(void)
{
- early_cpu_detect();
intel_cpu_init();
cyrix_init_cpu();
nsc_init_cpu();
@@ -483,6 +482,7 @@
rise_init_cpu();
nexgen_init_cpu();
umc_init_cpu();
+ early_cpu_detect();

#ifdef CONFIG_DEBUG_PAGEALLOC
/* pse is not compatible with on-the-fly unmapping,
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/