Skip to contentSkip to conversation

arch/powerpc: remove references to cpu_*_map.

PATCH Applied Rusty Russell 3 participants 4 messages Feb 15, 2012 – Feb 19, 2012 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 6/12 arch/powerpc: remove references to cpu_*_map.

From: Rusty Russell <[email protected]>

This has been obsolescent for a while; time for the final push.

Cc Benjamin Herrenschmidt <[email protected]>
Cc Paul Mackerras <[email protected]>
---
 arch/powerpc/platforms/wsp/smp.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/powerpc/platforms/wsp/smp.c +1 -1
@@ -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 = {