# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1274192306 -3600
# Node ID c6db509d7e46be8b5a127ab9c99e76f644b2b21c
# Parent 8d7eba5be1d83f80ee2f4633d5ad7d00c4ef55a7
x86: Remove cpu_possible_map
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
xen/arch/x86/mpparse.c | 5 +----
xen/arch/x86/smpboot.c | 2 --
2 files changed, 1 insertion(+), 6 deletions(-)
diff -r 8d7eba5be1d8 -r c6db509d7e46 xen/arch/x86/mpparse.c
--- a/xen/arch/x86/mpparse.c Tue May 18 15:13:45 2010 +0100
+++ b/xen/arch/x86/mpparse.c Tue May 18 15:18:26 2010 +0100
@@ -203,10 +203,7 @@ static int __devinit MP_processor_info (
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.
diff -r 8d7eba5be1d8 -r c6db509d7e46 xen/arch/x86/smpboot.c
--- a/xen/arch/x86/smpboot.c Tue May 18 15:13:45 2010 +0100
+++ b/xen/arch/x86/smpboot.c Tue May 18 15:18:26 2010 +0100
@@ -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;
}
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|