aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86_64/kernel/smpboot.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86_64/kernel/smpboot.c')
-rw-r--r--arch/x86_64/kernel/smpboot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/kernel/smpboot.c b/arch/x86_64/kernel/smpboot.c
index eca01e82d3c7..73f7e8b9543a 100644
--- a/arch/x86_64/kernel/smpboot.c
+++ b/arch/x86_64/kernel/smpboot.c
@@ -652,7 +652,7 @@ static __cpuinit void detect_siblings(void)
652 int i; 652 int i;
653 if (smp_num_siblings > 1) { 653 if (smp_num_siblings > 1) {
654 for_each_online_cpu (i) { 654 for_each_online_cpu (i) {
655 if (cpu_core_id[cpu] == phys_proc_id[i]) { 655 if (cpu_core_id[cpu] == cpu_core_id[i]) {
656 siblings++; 656 siblings++;
657 cpu_set(i, cpu_sibling_map[cpu]); 657 cpu_set(i, cpu_sibling_map[cpu]);
658 } 658 }