]> xenbits.xensource.com Git - legacy/linux-2.6.18-xen.git/commitdiff
xen/smpboot: eliminate cpu_2_logical_apicid
authorKeir Fraser <keir@xen.org>
Wed, 3 Nov 2010 08:21:08 +0000 (08:21 +0000)
committerKeir Fraser <keir@xen.org>
Wed, 3 Nov 2010 08:21:08 +0000 (08:21 +0000)
This variable must have become orphaned by a merge predating the
2.6.16 one.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
drivers/xen/core/smpboot.c

index 80bd1bb2e3bdbc47e38d55006fc5a3b5e2a6030e..787151205ec4e37f0a894316bfcdbeeef740cd72 100644 (file)
@@ -53,8 +53,6 @@ static DEFINE_PER_CPU(int, callfunc_irq);
 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 int max_cpus)
        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 int max_cpus)
                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);