x86_64: make k8topology multi-core aware
authorJoachim Deguara <joachim.deguara@amd.com>
Sat, 21 Jul 2007 15:11:44 +0000 (17:11 +0200)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 22 Jul 2007 01:37:14 +0000 (18:37 -0700)
commit7557244ba27f63404236cb27277b98c27d856692
tree98fa8bbf1ac63315657e35465defba84fc843ed9
parent81e02d19b901da0900332654fa7846d119b53221
x86_64: make k8topology multi-core aware

This makes k8topology multicore aware instead of limited to signle- and
dual-core CPUs.  It uses the CPUID to be more future proof.

Signed-off-by: Joachim Deguara <joachim.deguara@amd.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86_64/mm/k8topology.c