[PATCH] i386/x86-64: Use new official CPUID to get APICID/core split on AMD platforms
authorAndi Kleen <ak@suse.de>
Mon, 26 Jun 2006 11:56:10 +0000 (13:56 +0200)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 26 Jun 2006 17:48:14 +0000 (10:48 -0700)
commitfaee9a5dc9d8399cc3b1b8e18b6d7ff7b17f1af1
treee909f4ca48bd3d61b06e3b77f4c380301cd7b857
parent79121ea9f098934850347eeed3857ffd836810c3
[PATCH] i386/x86-64: Use new official CPUID to get APICID/core split on AMD platforms

Previously the apicid<->coreid split was computed based on the max
number of cores. Now use a new CPUID AMD defined for that. On most
systems right now it should be 0 and the old method will be used.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/cpu/amd.c
arch/x86_64/kernel/setup.c