x86: Remove cpu_possible_map
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 18 May 2010 14:18:26 +0000 (15:18 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 18 May 2010 14:18:26 +0000 (15:18 +0100)
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/arch/x86/mpparse.c
xen/arch/x86/smpboot.c

index b6fc6540099b41e51a233393987db400383e3f38..aabab2e675fe42907038890d3f5dca27e55e0ae3 100644 (file)
@@ -203,10 +203,7 @@ static int __devinit MP_processor_info (struct mpc_config_processor *m)
                cpu_set(cpu, cpu_present_map);
        }
 
-       cpu_set(num_processors, cpu_possible_map);
-       num_processors++;
-
-       if (num_processors > 8) {
+       if (++num_processors > 8) {
                /*
                 * No need for processor or APIC checks: physical delivery
                 * (bigsmp) mode should always work.
index 53925beae70fca777dc468ef7e9dbd11db681ef7..2787a31b55c7346d4f8cd245d0e5ba3579283eaf 100644 (file)
@@ -67,7 +67,6 @@ EXPORT_SYMBOL(cpu_online_map);
 
 cpumask_t cpu_callin_map;
 cpumask_t cpu_callout_map;
-cpumask_t cpu_possible_map = CPU_MASK_ALL;
 static cpumask_t smp_commenced_mask;
 
 struct cpuinfo_x86 cpu_data[NR_CPUS];
@@ -837,7 +836,6 @@ void __init smp_prepare_boot_cpu(void)
     cpu_set(smp_processor_id(), cpu_online_map);
     cpu_set(smp_processor_id(), cpu_callout_map);
     cpu_set(smp_processor_id(), cpu_present_map);
-    cpu_set(smp_processor_id(), cpu_possible_map);
     per_cpu(cpu_state, smp_processor_id()) = CPU_ONLINE;
 }