diff options
author | Jan Beulich <jbeulich@suse.com> | 2012-11-08 17:56:12 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2012-11-08 17:56:12 +0100 |
commit | 6405495e4a139ed1426f5b06851ae8d77036d6c4 (patch) | |
tree | 57f2fc98891f0ac998b99f4c7758c8f88abeac01 /xen/arch/x86/smp.c | |
parent | 89238ef7797023f318f82f4f9dddef59c435b8bd (diff) | |
download | xen-6405495e4a139ed1426f5b06851ae8d77036d6c4.tar.gz xen-6405495e4a139ed1426f5b06851ae8d77036d6c4.tar.bz2 xen-6405495e4a139ed1426f5b06851ae8d77036d6c4.zip |
x86: make cpu_2_logical_apicid private to x2apic code
... as it in fact is only being used there. While moving it, also make
it a per-CPU variable rather than a NR_CPUS-sized array.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/arch/x86/smp.c')
-rw-r--r-- | xen/arch/x86/smp.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/xen/arch/x86/smp.c b/xen/arch/x86/smp.c index 814547bb6a..89c2b131af 100644 --- a/xen/arch/x86/smp.c +++ b/xen/arch/x86/smp.c @@ -28,11 +28,6 @@ int hard_smp_processor_id(void) return get_apic_id(); } -int logical_smp_processor_id(void) -{ - return get_logical_apic_id(); -} - /* * send_IPI_mask(cpumask, vector): sends @vector IPI to CPUs in @cpumask, * excluding the local CPU. @cpumask may be empty. |