]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86: use x2apic id reported by cpuid during topology discovery
authorSuresh Siddha <suresh.b.siddha@intel.com>
Sat, 23 Aug 2008 15:47:11 +0000 (17:47 +0200)
committerIngo Molnar <mingo@elte.hu>
Sat, 23 Aug 2008 15:47:11 +0000 (17:47 +0200)
commite17941b0c140562d92e5a3bc12b4ad88281c7926
tree3bfdc8bf5611da7eb9abb8905dce3a1f17c0926a
parentbbb65d2d365efe9951290e61678dcf81ec60add4
x86: use x2apic id reported by cpuid during topology discovery

use x2apic id reported by cpuid during topology discovery, instead of the
apic id configured in the APIC. For most of the systems, x2apic id
reported by cpuid leaf 0xb will be same as the physical apic id reported
by the APIC_ID register of the APIC. We follow the suggested guidelines
and use the apic id reported by the cpuid.

No change to non-generic UV platforms, will use the apic id reported in the
APIC_ID register as the cpuid reported apic id's may not be unique.

Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/genx2apic_cluster.c
arch/x86/kernel/genx2apic_phys.c