[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [linux-2.6.18-xen] xen/smpboot: eliminate cpu_2_logical_apicid



# HG changeset patch
# User Keir Fraser <keir@xxxxxxx>
# Date 1288772468 0
# Node ID f14221afcebeac623197f7b68f6ff3262c58083f
# Parent  bd2bf7a8468657da58c5039a2dfb573afb7e004d
xen/smpboot: eliminate cpu_2_logical_apicid

This variable must have become orphaned by a merge predating the
2.6.16 one.

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
---
 drivers/xen/core/smpboot.c |    4 ----
 1 files changed, 4 deletions(-)

diff -r bd2bf7a84686 -r f14221afcebe drivers/xen/core/smpboot.c
--- a/drivers/xen/core/smpboot.c        Wed Nov 03 08:20:42 2010 +0000
+++ b/drivers/xen/core/smpboot.c        Wed Nov 03 08:21:08 2010 +0000
@@ -53,8 +53,6 @@ static char resched_name[NR_CPUS][15];
 static char resched_name[NR_CPUS][15];
 static char callfunc_name[NR_CPUS][15];
 
-u8 cpu_2_logical_apicid[NR_CPUS] = { [0 ... NR_CPUS-1] = BAD_APICID };
-
 cpumask_t cpu_sibling_map[NR_CPUS] __cacheline_aligned;
 cpumask_t cpu_core_map[NR_CPUS] __cacheline_aligned;
 EXPORT_SYMBOL(cpu_core_map);
@@ -274,7 +272,6 @@ void __init smp_prepare_cpus(unsigned in
        boot_cpu_data.apicid = apicid;
        cpu_data[0] = boot_cpu_data;
 
-       cpu_2_logical_apicid[0] = apicid;
        x86_cpu_to_apicid[0] = apicid;
 
        current_thread_info()->cpu = 0;
@@ -331,7 +328,6 @@ void __init smp_prepare_cpus(unsigned in
                cpu_data[cpu] = boot_cpu_data;
                cpu_data[cpu].apicid = apicid;
 
-               cpu_2_logical_apicid[cpu] = apicid;
                x86_cpu_to_apicid[cpu] = apicid;
 
                idle = fork_idle(cpu);

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.