diff options
| -rw-r--r-- | arch/x86/kernel/smpboot.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c index fd019d78b1f4..3fab55bea29b 100644 --- a/arch/x86/kernel/smpboot.c +++ b/arch/x86/kernel/smpboot.c | |||
| @@ -382,6 +382,15 @@ void __cpuinit set_cpu_sibling_map(int cpu) | |||
| 382 | if ((i == cpu) || (has_mc && match_llc(c, o))) | 382 | if ((i == cpu) || (has_mc && match_llc(c, o))) |
| 383 | link_mask(llc_shared, cpu, i); | 383 | link_mask(llc_shared, cpu, i); |
| 384 | 384 | ||
| 385 | } | ||
| 386 | |||
| 387 | /* | ||
| 388 | * This needs a separate iteration over the cpus because we rely on all | ||
| 389 | * cpu_sibling_mask links to be set-up. | ||
| 390 | */ | ||
| 391 | for_each_cpu(i, cpu_sibling_setup_mask) { | ||
| 392 | o = &cpu_data(i); | ||
| 393 | |||
| 385 | if ((i == cpu) || (has_mc && match_mc(c, o))) { | 394 | if ((i == cpu) || (has_mc && match_mc(c, o))) { |
| 386 | link_mask(core, cpu, i); | 395 | link_mask(core, cpu, i); |
| 387 | 396 | ||
