Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 27120
b: refs/heads/master
c: 320e6ab
h: refs/heads/master
v: v3
  • Loading branch information
Ralf Baechle committed Jun 5, 2006
1 parent cb876f2 commit 6e60767
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: acf518cbba773e2c20fe313acb340da65001c7a8
refs/heads/master: 320e6aba26892b016293190e079f15e83a5c28b9
5 changes: 4 additions & 1 deletion trunk/arch/mips/kernel/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,9 @@ void __init smp_prepare_cpus(unsigned int max_cpus)
current_thread_info()->cpu = 0;
smp_tune_scheduling();
plat_prepare_cpus(max_cpus);
#ifndef CONFIG_HOTPLUG_CPU
cpu_present_map = cpu_possible_map;
#endif
}

/* preload SMP state for boot cpu */
Expand Down Expand Up @@ -442,7 +445,7 @@ static int __init topology_init(void)
int cpu;
int ret;

for_each_cpu(cpu) {
for_each_present_cpu(cpu) {
ret = register_cpu(&per_cpu(cpu_devices, cpu), cpu, NULL);
if (ret)
printk(KERN_WARNING "topology_init: register_cpu %d "
Expand Down

0 comments on commit 6e60767

Please sign in to comment.