|
@@ -193,6 +193,12 @@ static void smp_callin(void)
|
|
|
*/
|
|
|
smp_store_cpu_info(cpuid);
|
|
|
|
|
|
+ /*
|
|
|
+ * The topology information must be up to date before
|
|
|
+ * calibrate_delay() and notify_cpu_starting().
|
|
|
+ */
|
|
|
+ set_cpu_sibling_map(raw_smp_processor_id());
|
|
|
+
|
|
|
/*
|
|
|
* Get our bogomips.
|
|
|
* Update loops_per_jiffy in cpu_data. Previous call to
|
|
@@ -203,11 +209,6 @@ static void smp_callin(void)
|
|
|
cpu_data(cpuid).loops_per_jiffy = loops_per_jiffy;
|
|
|
pr_debug("Stack at about %p\n", &cpuid);
|
|
|
|
|
|
- /*
|
|
|
- * This must be done before setting cpu_online_mask
|
|
|
- * or calling notify_cpu_starting.
|
|
|
- */
|
|
|
- set_cpu_sibling_map(raw_smp_processor_id());
|
|
|
wmb();
|
|
|
|
|
|
notify_cpu_starting(cpuid);
|