aboutsummaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rw-r--r--init/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/init/main.c b/init/main.c
index 2a7ce0f8e453..84d3732c0ce5 100644
--- a/init/main.c
+++ b/init/main.c
@@ -527,9 +527,9 @@ static void __init boot_cpu_init(void)
527{ 527{
528 int cpu = smp_processor_id(); 528 int cpu = smp_processor_id();
529 /* Mark the boot cpu "present", "online" etc for SMP and UP case */ 529 /* Mark the boot cpu "present", "online" etc for SMP and UP case */
530 cpu_set(cpu, cpu_online_map); 530 set_cpu_online(cpu, true);
531 cpu_set(cpu, cpu_present_map); 531 set_cpu_present(cpu, true);
532 cpu_set(cpu, cpu_possible_map); 532 set_cpu_possible(cpu, true);
533} 533}
534 534
535void __init __weak smp_setup_processor_id(void) 535void __init __weak smp_setup_processor_id(void)