Re: x86 cpu_data

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Thu Dec 14 2000 - 12:57:54 EST


> Hi, I need to check for *only* Intel P6 processors, so no Classic Pentium,
> and no Pentium 4. setup.c is a bit obscure; is this check correct :

Long answer - you cannot reliably check...

Shorter answer

        x86_vendor == INTEL
        x86 = 6

is Pentium Pro-> PentiumIII

The Pentium IV reports x86 = 15. My opinion on that isnt printable ;)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Dec 15 2000 - 21:00:30 EST