Re: Use of CONFIG_M686

Alan Cox (alan@lxorguk.ukuu.org.uk)
28 May 2002 01:05:46 +0100


On Mon, 2002-05-27 at 23:29, J.A. Magallon wrote:
>
> On 2002.05.28 J.A. Magallon wrote:
> >Hi all...
> >
> >arch/i386/kernel/traps.c:
> >
> >#ifndef CONFIG_M686 <=================== which also passes if PII, P4...
> >void __init trap_init_f00f_bug(void)
> >...
>
> Would it be enough with
>
> #if defined(CONFIG_M586) || defined(CONFIG_M586TSC) || defined(CONFIG_M586MMX)
>
> 386-486 do not have the bug, do ?

You misunderstand the intent. A 386 or 486 kernel will run on a Pentium
and could therefore hit the error. A PPro kernel would die earlier
anyway. Of course its long been PPRO|Athlon|... and the ifdef wanted
updating. I'd ifdef it on CONFIG_X86_FOOF_BUG and put the FOOF thing
into arch/i386/Config.in nicely with the other stuff

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