In init_intel, the correct CPU name is being assigned to p, but p isn't
being copied into c->x86_model_id. As a result, the name from the tables,
"Mobile Pentium II", is always being used.
This patch (backported from 2.4) fixes the problem. Alan, please apply.
-Barry K. Nathan <barryn@pobox.com>
--- linux-2.2.21-pre4/arch/i386/kernel/setup.c Sat Mar 9 03:58:57 2002
+++ linux-2.2.21-pre4-bknA-2/arch/i386/kernel/setup.c Sat Mar 9 22:31:34 2002
@@ -1232,6 +1232,9 @@
break;
}
}
+
+ if ( p )
+ strcpy(c->x86_model_id, p);
}
struct cpu_model_info {
-
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/