[PATCH] x86-64/i386: Fix CPU model for family 6
authorSuresh Siddha <suresh.b.siddha@intel.com>
Sat, 5 Nov 2005 16:25:53 +0000 (17:25 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 15 Nov 2005 03:55:14 +0000 (19:55 -0800)
commitf5f786d0455c359c554b8f74783f887c0a2c9fac
tree2d8bf241afe4d9242657f29f6494ce8763b3418d
parente9b59d834faf0305cb6214a358f65f72c57b9e99
[PATCH] x86-64/i386: Fix CPU model for family 6

According to cpuid instruction in IA32 SDM-Vol2, when computing cpu model,
we need to consider extended model ID for family 0x6 also.

AK: Also added fixes/simplifcation from Petr Vandrovec

Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/cpu/common.c
arch/x86_64/kernel/setup.c