]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - arch/x86/kernel/cpu/amd.c
x86: Use hard_smp_processor_id() to get apic id for AMD K8 cpus
authorYinghai Lu <yinghai@kernel.org>
Sat, 29 Aug 2009 20:17:14 +0000 (13:17 -0700)
committerIngo Molnar <mingo@elte.hu>
Fri, 4 Sep 2009 07:55:29 +0000 (09:55 +0200)
commit0d96b9ff748b5f57d6f1d6d21209f5745245aadc
treeaef8741a93293bcd85a7d7d7e83706717a8f0a51
parent5a925b4282d7f805deafde62001a83dbaf8be275
x86: Use hard_smp_processor_id() to get apic id for AMD K8 cpus

Otherwise, system with apci id lifting will have wrong apicid in
/proc/cpuinfo.

and use that in srat_detect_node().

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Cc: Andreas Herrmann <andreas.herrmann3@amd.com>
Cc: Suresh Siddha <suresh.b.siddha@intel.com>
Cc: Cyrill Gorcunov <gorcunov@openvz.org>
LKML-Reference: <4A998CCA.1040407@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/amd.c