diff options
author | Anton Blanchard <anton@samba.org> | 2010-04-26 15:32:36 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2010-05-06 17:16:15 +1000 |
commit | 115731312fb3207705023e3ff247d1b9d039838d (patch) | |
tree | a2c307097a55a796f5b2c54d645cf76fa781e66b /arch/powerpc/platforms/iseries | |
parent | b6decb707952c678d110699abb5ed86d45ca6927 (diff) | |
download | blackbird-op-linux-115731312fb3207705023e3ff247d1b9d039838d.tar.gz blackbird-op-linux-115731312fb3207705023e3ff247d1b9d039838d.zip |
powerpc/cpumask: Convert iseries SMP code to new cpumask API
Use new cpumask functions in iseries SMP startup code.
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms/iseries')
-rw-r--r-- | arch/powerpc/platforms/iseries/smp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/iseries/smp.c b/arch/powerpc/platforms/iseries/smp.c index 722335e32fd4..6590850045af 100644 --- a/arch/powerpc/platforms/iseries/smp.c +++ b/arch/powerpc/platforms/iseries/smp.c @@ -83,7 +83,7 @@ static void smp_iSeries_message_pass(int target, int msg) static int smp_iSeries_probe(void) { - return cpus_weight(cpu_possible_map); + return cpumask_weight(cpu_possible_mask); } static void smp_iSeries_kick_cpu(int nr) |