[PATCH] CPUID bug and inconsistency fix
authorH. Peter Anvin <hpa@zytor.com>
Sun, 1 May 2005 15:58:49 +0000 (08:58 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sun, 1 May 2005 15:58:49 +0000 (08:58 -0700)
commit5b7abc6fdcaf103f15e06c518ef0aec02a9c00e7
treeaf36948e79774ea69ec398056ce8b5db0c682e34
parenta6954ba2e8d344a07e066737827116eb7bc0fdcd
[PATCH] CPUID bug and inconsistency fix

The recent support for K8 multicore was misported from x86-64 to i386, due
to an unnecessary inconsistency between the CPUID code.  Sure, there is are
no x86-64 VIA chips yet, but it should happen eventually.

This patch fixes the i386 bug as well as makes x86-64 match i386 in the
handing of the CPUID array.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/kernel/setup.c
include/asm-i386/cpufeature.h
include/asm-x86_64/cpufeature.h