diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-07-25 07:08:16 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-25 07:08:16 -0400 |
commit | 10a010f6953b5a14ba2f0be40a4fce1bea220875 (patch) | |
tree | 19aadf718c796bc7fae0a1a1c970d84d67c541d4 /arch/x86/kernel/smpboot.c | |
parent | 510b37258dfd61693ca6c039865c78bd996e3718 (diff) | |
parent | fb2e405fc1fc8b20d9c78eaa1c7fd5a297efde43 (diff) |
Merge branch 'linus' into x86/x2apic
Conflicts:
drivers/pci/dmar.c
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/smpboot.c')
-rw-r--r-- | arch/x86/kernel/smpboot.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c index 52eb1484a48a..626618bf2f81 100644 --- a/arch/x86/kernel/smpboot.c +++ b/arch/x86/kernel/smpboot.c | |||
@@ -439,7 +439,7 @@ void __cpuinit set_cpu_sibling_map(int cpu) | |||
439 | cpu_set(cpu, cpu_sibling_setup_map); | 439 | cpu_set(cpu, cpu_sibling_setup_map); |
440 | 440 | ||
441 | if (smp_num_siblings > 1) { | 441 | if (smp_num_siblings > 1) { |
442 | for_each_cpu_mask(i, cpu_sibling_setup_map) { | 442 | for_each_cpu_mask_nr(i, cpu_sibling_setup_map) { |
443 | if (c->phys_proc_id == cpu_data(i).phys_proc_id && | 443 | if (c->phys_proc_id == cpu_data(i).phys_proc_id && |
444 | c->cpu_core_id == cpu_data(i).cpu_core_id) { | 444 | c->cpu_core_id == cpu_data(i).cpu_core_id) { |
445 | cpu_set(i, per_cpu(cpu_sibling_map, cpu)); | 445 | cpu_set(i, per_cpu(cpu_sibling_map, cpu)); |
@@ -462,7 +462,7 @@ void __cpuinit set_cpu_sibling_map(int cpu) | |||
462 | return; | 462 | return; |
463 | } | 463 | } |
464 | 464 | ||
465 | for_each_cpu_mask(i, cpu_sibling_setup_map) { | 465 | for_each_cpu_mask_nr(i, cpu_sibling_setup_map) { |
466 | if (per_cpu(cpu_llc_id, cpu) != BAD_APICID && | 466 | if (per_cpu(cpu_llc_id, cpu) != BAD_APICID && |
467 | per_cpu(cpu_llc_id, cpu) == per_cpu(cpu_llc_id, i)) { | 467 | per_cpu(cpu_llc_id, cpu) == per_cpu(cpu_llc_id, i)) { |
468 | cpu_set(i, c->llc_shared_map); | 468 | cpu_set(i, c->llc_shared_map); |
@@ -1219,7 +1219,7 @@ static void remove_siblinginfo(int cpu) | |||
1219 | int sibling; | 1219 | int sibling; |
1220 | struct cpuinfo_x86 *c = &cpu_data(cpu); | 1220 | struct cpuinfo_x86 *c = &cpu_data(cpu); |
1221 | 1221 | ||
1222 | for_each_cpu_mask(sibling, per_cpu(cpu_core_map, cpu)) { | 1222 | for_each_cpu_mask_nr(sibling, per_cpu(cpu_core_map, cpu)) { |
1223 | cpu_clear(cpu, per_cpu(cpu_core_map, sibling)); | 1223 | cpu_clear(cpu, per_cpu(cpu_core_map, sibling)); |
1224 | /*/ | 1224 | /*/ |
1225 | * last thread sibling in this cpu core going down | 1225 | * last thread sibling in this cpu core going down |
@@ -1228,7 +1228,7 @@ static void remove_siblinginfo(int cpu) | |||
1228 | cpu_data(sibling).booted_cores--; | 1228 | cpu_data(sibling).booted_cores--; |
1229 | } | 1229 | } |
1230 | 1230 | ||
1231 | for_each_cpu_mask(sibling, per_cpu(cpu_sibling_map, cpu)) | 1231 | for_each_cpu_mask_nr(sibling, per_cpu(cpu_sibling_map, cpu)) |
1232 | cpu_clear(cpu, per_cpu(cpu_sibling_map, sibling)); | 1232 | cpu_clear(cpu, per_cpu(cpu_sibling_map, sibling)); |
1233 | cpus_clear(per_cpu(cpu_sibling_map, cpu)); | 1233 | cpus_clear(per_cpu(cpu_sibling_map, cpu)); |
1234 | cpus_clear(per_cpu(cpu_core_map, cpu)); | 1234 | cpus_clear(per_cpu(cpu_core_map, cpu)); |