Re: x86 cpu_data

2000-12-14 Thread Alan Cox
> 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

x86 cpu_data

2000-12-14 Thread John Levon
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 : if (current_cpu_data.x86_vendor != X86_VENDOR_INTEL || current_cpu_data.x86 != 6) return NOT_P6; if (current_cpu_data.x86_model > 5)

x86 cpu_data

2000-12-14 Thread John Levon
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 : if (current_cpu_data.x86_vendor != X86_VENDOR_INTEL || current_cpu_data.x86 != 6) return NOT_P6; if (current_cpu_data.x86_model 5)

Re: x86 cpu_data

2000-12-14 Thread Alan Cox
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