summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2012-02-15 17:51:26 +0000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2012-02-22 16:48:47 +1100
commit07d2f1a54a78a648093f4f3a33aa86b03cf9e25f (patch)
treec38ef23928ce9b51477b0bfd7d069017d7b24cba /arch
parent27e74da9800289e69ba907777df1e2085231eff7 (diff)
downloadop-kernel-dev-07d2f1a54a78a648093f4f3a33aa86b03cf9e25f.zip
op-kernel-dev-07d2f1a54a78a648093f4f3a33aa86b03cf9e25f.tar.gz
powerpc: Remove references to cpu_*_map
This has been obsolescent for a while; time for the final push. In adjacent context, replaced old cpus_* with cpumask_*. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch')
-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 71bd105..0ba103a 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