diff options
author | Anton Blanchard <anton@samba.org> | 2010-04-26 11:32:36 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2010-05-06 03:16:15 -0400 |
commit | 115731312fb3207705023e3ff247d1b9d039838d (patch) | |
tree | a2c307097a55a796f5b2c54d645cf76fa781e66b /arch | |
parent | b6decb707952c678d110699abb5ed86d45ca6927 (diff) |
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')
-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) | |||
83 | 83 | ||
84 | static int smp_iSeries_probe(void) | 84 | static int smp_iSeries_probe(void) |
85 | { | 85 | { |
86 | return cpus_weight(cpu_possible_map); | 86 | return cpumask_weight(cpu_possible_mask); |
87 | } | 87 | } |
88 | 88 | ||
89 | static void smp_iSeries_kick_cpu(int nr) | 89 | static void smp_iSeries_kick_cpu(int nr) |