aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/smp.h
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2012-11-08 17:56:12 +0100
committerJan Beulich <jbeulich@suse.com>2012-11-08 17:56:12 +0100
commit6405495e4a139ed1426f5b06851ae8d77036d6c4 (patch)
tree57f2fc98891f0ac998b99f4c7758c8f88abeac01 /xen/include/asm-x86/smp.h
parent89238ef7797023f318f82f4f9dddef59c435b8bd (diff)
downloadxen-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/include/asm-x86/smp.h')
-rw-r--r--xen/include/asm-x86/smp.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/xen/include/asm-x86/smp.h b/xen/include/asm-x86/smp.h
index 806abfe176..837cbde9db 100644
--- a/xen/include/asm-x86/smp.h
+++ b/xen/include/asm-x86/smp.h
@@ -37,7 +37,6 @@ extern void zap_low_mappings(void);
#define MAX_APICID 256
extern u32 x86_cpu_to_apicid[];
-extern u32 cpu_2_logical_apicid[];
#define cpu_physical_id(cpu) x86_cpu_to_apicid[cpu]
@@ -54,7 +53,6 @@ int cpu_add(uint32_t apic_id, uint32_t acpi_id, uint32_t pxm);
#define raw_smp_processor_id() (get_processor_id())
int hard_smp_processor_id(void);
-int logical_smp_processor_id(void);
void __stop_this_cpu(void);