[MIPS] Fix SMP now that fixup_cpu_present_map is gone. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

+4 -1
+4 -1
arch/mips/kernel/smp.c
··· 247 247 current_thread_info()->cpu = 0; 248 248 smp_tune_scheduling(); 249 249 plat_prepare_cpus(max_cpus); 250 + #ifndef CONFIG_HOTPLUG_CPU 251 + cpu_present_map = cpu_possible_map; 252 + #endif 250 253 } 251 254 252 255 /* preload SMP state for boot cpu */ ··· 445 442 int cpu; 446 443 int ret; 447 444 448 - for_each_cpu(cpu) { 445 + for_each_present_cpu(cpu) { 449 446 ret = register_cpu(&per_cpu(cpu_devices, cpu), cpu, NULL); 450 447 if (ret) 451 448 printk(KERN_WARNING "topology_init: register_cpu %d "