|
@@ -527,9 +527,9 @@ static void __init boot_cpu_init(void)
|
|
|
{
|
|
|
int cpu = smp_processor_id();
|
|
|
/* Mark the boot cpu "present", "online" etc for SMP and UP case */
|
|
|
- cpu_set(cpu, cpu_online_map);
|
|
|
- cpu_set(cpu, cpu_present_map);
|
|
|
- cpu_set(cpu, cpu_possible_map);
|
|
|
+ set_cpu_online(cpu, true);
|
|
|
+ set_cpu_present(cpu, true);
|
|
|
+ set_cpu_possible(cpu, true);
|
|
|
}
|
|
|
|
|
|
void __init __weak smp_setup_processor_id(void)
|