|
@@ -88,6 +88,8 @@ EXPORT_SYMBOL(cpu_online_map);
|
|
cpumask_t cpu_callin_map;
|
|
cpumask_t cpu_callin_map;
|
|
cpumask_t cpu_callout_map;
|
|
cpumask_t cpu_callout_map;
|
|
EXPORT_SYMBOL(cpu_callout_map);
|
|
EXPORT_SYMBOL(cpu_callout_map);
|
|
|
|
+cpumask_t cpu_possible_map;
|
|
|
|
+EXPORT_SYMBOL(cpu_possible_map);
|
|
static cpumask_t smp_commenced_mask;
|
|
static cpumask_t smp_commenced_mask;
|
|
|
|
|
|
/* TSC's upper 32 bits can't be written in eariler CPU (before prescott), there
|
|
/* TSC's upper 32 bits can't be written in eariler CPU (before prescott), there
|
|
@@ -1265,6 +1267,7 @@ void __devinit smp_prepare_boot_cpu(void)
|
|
cpu_set(smp_processor_id(), cpu_online_map);
|
|
cpu_set(smp_processor_id(), cpu_online_map);
|
|
cpu_set(smp_processor_id(), cpu_callout_map);
|
|
cpu_set(smp_processor_id(), cpu_callout_map);
|
|
cpu_set(smp_processor_id(), cpu_present_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;
|
|
per_cpu(cpu_state, smp_processor_id()) = CPU_ONLINE;
|
|
}
|
|
}
|
|
|
|
|