diff options
Diffstat (limited to 'arch/powerpc/kernel/setup-common.c')
-rw-r--r-- | arch/powerpc/kernel/setup-common.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/kernel/setup-common.c b/arch/powerpc/kernel/setup-common.c index 74cd1a7d0d4b..4271f7a655a3 100644 --- a/arch/powerpc/kernel/setup-common.c +++ b/arch/powerpc/kernel/setup-common.c | |||
@@ -431,9 +431,9 @@ void __init smp_setup_cpu_maps(void) | |||
431 | for (j = 0; j < nthreads && cpu < NR_CPUS; j++) { | 431 | for (j = 0; j < nthreads && cpu < NR_CPUS; j++) { |
432 | DBG(" thread %d -> cpu %d (hard id %d)\n", | 432 | DBG(" thread %d -> cpu %d (hard id %d)\n", |
433 | j, cpu, intserv[j]); | 433 | j, cpu, intserv[j]); |
434 | cpu_set(cpu, cpu_present_map); | 434 | set_cpu_present(cpu, true); |
435 | set_hard_smp_processor_id(cpu, intserv[j]); | 435 | set_hard_smp_processor_id(cpu, intserv[j]); |
436 | cpu_set(cpu, cpu_possible_map); | 436 | set_cpu_possible(cpu, true); |
437 | cpu++; | 437 | cpu++; |
438 | } | 438 | } |
439 | } | 439 | } |
@@ -479,7 +479,7 @@ void __init smp_setup_cpu_maps(void) | |||
479 | maxcpus); | 479 | maxcpus); |
480 | 480 | ||
481 | for (cpu = 0; cpu < maxcpus; cpu++) | 481 | for (cpu = 0; cpu < maxcpus; cpu++) |
482 | cpu_set(cpu, cpu_possible_map); | 482 | set_cpu_possible(cpu, true); |
483 | out: | 483 | out: |
484 | of_node_put(dn); | 484 | of_node_put(dn); |
485 | } | 485 | } |