Re: [PATCH] 2.6 workaround for Athlon/Opteron prefetch errata

From: Andi Kleen
Date: Fri Sep 12 2003 - 13:35:36 EST


On Fri, 12 Sep 2003 20:22:16 +0200
Adrian Bunk <bunk@xxxxxxxxx> wrote:


>
> But even CONFIG_X86_GENERIC doesn't do what you expect. A kernel
> compiled for Athlon wouldn't run on a Pentium 4 even with
> CONFIG_X86_GENERIC.

It does. Just try it.

>
> Quoting arch/i386/Kconfig in -test5:
>
> <-- snip -->
>
> config X86_USE_3DNOW
> bool
> depends on MCYRIXIII || MK7
> default y

That's obsolete and could be removed. All 3dnow! code is dynamically patched depending on the CPUID.

-Andi
-
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/