diff options
author | Anton Blanchard <anton@samba.org> | 2010-04-26 17:32:36 +0200 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2010-05-06 09:16:15 +0200 |
commit | 115731312fb3207705023e3ff247d1b9d039838d (patch) | |
tree | a2c307097a55a796f5b2c54d645cf76fa781e66b | |
parent | powerpc/cpumask: Convert fixup_irqs to new cpumask API (diff) | |
download | linux-115731312fb3207705023e3ff247d1b9d039838d.tar.xz 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>
-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) |