summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/wsp/smp.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/platforms/wsp/smp.c')
-rw-r--r--arch/powerpc/platforms/wsp/smp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/wsp/smp.c b/arch/powerpc/platforms/wsp/smp.c
index 71bd105f3863..0ba103ae83a5 100644
--- a/arch/powerpc/platforms/wsp/smp.c
+++ b/arch/powerpc/platforms/wsp/smp.c
@@ -71,7 +71,7 @@ int __devinit smp_a2_kick_cpu(int nr)
static int __init smp_a2_probe(void)
{
- return cpus_weight(cpu_possible_map);
+ return num_possible_cpus();
}
static struct smp_ops_t a2_smp_ops = {
OpenPOWER on IntegriCloud