Skip to content

Commit

Permalink
powerpc: Remove references to cpu_*_map
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Rusty Russell authored and Benjamin Herrenschmidt committed Feb 22, 2012
1 parent 27e74da commit 07d2f1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/platforms/wsp/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 07d2f1a

Please sign in to comment.