[PATCH] x86_64: Use local APIC ID from local APIC instead of CPUID
authorravikiran thirumalai <kiran@scalex86.org>
Mon, 26 Jun 2006 11:56:04 +0000 (13:56 +0200)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 26 Jun 2006 17:48:14 +0000 (10:48 -0700)
commit0f4fdb7fba0b3ec66df39d0e743e701404161fb8
treec54005e24d649db5c5c0c01ff0a3e01e29dbefd1
parent7c393e7b95bceafcefd5357afdda9f5047b6aa69
[PATCH] x86_64: Use local APIC ID from local APIC instead of CPUID

vSMPowered systems use apic_cluster too.  Forcing apic_physflat works
on these systems too, but only if we change phys_pkg_id to use
hard_smp_prcoessor_id() instead of cpuid_ebx.  I am guessing other
multichassi cluster systems would need this too.

Signed-off-by: ravikiran thirumalai <kiran@scalex86.org>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/kernel/genapic_flat.c