]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit13108edaa70028710c662009b34332aaadf26f9e
treee909f4ca48bd3d61b06e3b77f4c380301cd7b857
parentdb680b1103d519af794b4a1657cffcf6d45c9ea7
[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