|
@@ -382,6 +382,15 @@ void __cpuinit set_cpu_sibling_map(int cpu)
|
|
if ((i == cpu) || (has_mc && match_llc(c, o)))
|
|
if ((i == cpu) || (has_mc && match_llc(c, o)))
|
|
link_mask(llc_shared, cpu, i);
|
|
link_mask(llc_shared, cpu, i);
|
|
|
|
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /*
|
|
|
|
+ * This needs a separate iteration over the cpus because we rely on all
|
|
|
|
+ * cpu_sibling_mask links to be set-up.
|
|
|
|
+ */
|
|
|
|
+ for_each_cpu(i, cpu_sibling_setup_mask) {
|
|
|
|
+ o = &cpu_data(i);
|
|
|
|
+
|
|
if ((i == cpu) || (has_mc && match_mc(c, o))) {
|
|
if ((i == cpu) || (has_mc && match_mc(c, o))) {
|
|
link_mask(core, cpu, i);
|
|
link_mask(core, cpu, i);
|
|
|
|
|