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 1d5570a1e456..9837d9153c4b 100644 --- a/arch/powerpc/kernel/setup-common.c +++ b/arch/powerpc/kernel/setup-common.c | |||
@@ -432,9 +432,9 @@ void __init smp_setup_cpu_maps(void) | |||
432 | for (j = 0; j < nthreads && cpu < NR_CPUS; j++) { | 432 | for (j = 0; j < nthreads && cpu < NR_CPUS; j++) { |
433 | DBG(" thread %d -> cpu %d (hard id %d)\n", | 433 | DBG(" thread %d -> cpu %d (hard id %d)\n", |
434 | j, cpu, intserv[j]); | 434 | j, cpu, intserv[j]); |
435 | cpu_set(cpu, cpu_present_map); | 435 | set_cpu_present(cpu, true); |
436 | set_hard_smp_processor_id(cpu, intserv[j]); | 436 | set_hard_smp_processor_id(cpu, intserv[j]); |
437 | cpu_set(cpu, cpu_possible_map); | 437 | set_cpu_possible(cpu, true); |
438 | cpu++; | 438 | cpu++; |
439 | } | 439 | } |
440 | } | 440 | } |
@@ -480,7 +480,7 @@ void __init smp_setup_cpu_maps(void) | |||
480 | maxcpus); | 480 | maxcpus); |
481 | 481 | ||
482 | for (cpu = 0; cpu < maxcpus; cpu++) | 482 | for (cpu = 0; cpu < maxcpus; cpu++) |
483 | cpu_set(cpu, cpu_possible_map); | 483 | set_cpu_possible(cpu, true); |
484 | out: | 484 | out: |
485 | of_node_put(dn); | 485 | of_node_put(dn); |
486 | } | 486 | } |