[PATCH] cpu type (was Re: cpu type in 2.3.99-pre7-pre6)

From: Aki M Laukkanen (amlaukka@cc.helsinki.fi)
Date: Sat May 06 2000 - 18:19:30 EST


On Sat, 6 May 2000, Adam wrote:

> -CPU0: Intel Celeron (Mendocino) stepping 05
> +CPU0: Intel Mobile Pentium II stepping 05
> -CPU1: Intel Celeron (Mendocino) stepping 05
> +CPU1: Intel Mobile Pentium II stepping 05

This one liner should make the cpu type appear correctly again.

--- linux-2.3.99-pre7-6/arch/i386/kernel/setup.c Sat May 6 07:11:26 2000
+++ linux/arch/i386/kernel/setup.c Sat May 6 19:07:35 2000
@@ -1344,7 +1344,7 @@
                         /* Names for the Pentium II/Celeron processors
                            detectable only by also checking the cache size.
                            Dixon is NOT a Celeron. */
- if (cpu_models[i].x86 == 6) {
+ if (c->x86 == 6) {
                                 switch (c->x86_model) {
                                         case 5:
                                                 if (c->x86_cache_size == 0)

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



This archive was generated by hypermail 2b29 : Sun May 07 2000 - 21:00:20 EST