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

Jeff Garzik
2003-09-11T14:15:40Z

Andi Kleen wrote:
> It could be done but ... we are moving more and more to generic kernels
> (e.g. see the alternative patch code which is enabled unconditionally)
> So that when you have a kernel it will boot on near all modern CPUs.

Only with CONFIG_X86_GENERIC. That's precisely why CONFIG_X86_GENERIC
was created.

If I disabled CONFIG_X86_GENERIC and select CONFIG_MPENTIUM4, I darned
well better not get any Athlon code. The cpu setup code in particular I
want to conditionalize, and there are other bits that need work... but
for the most part it works as intended.

Jeff