Skip to content

Commit

Permalink
powerpc/cpumask: Convert iseries SMP code to new cpumask API
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Anton Blanchard authored and Benjamin Herrenschmidt committed May 6, 2010
1 parent b6decb7 commit 1157313
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/platforms/iseries/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1157313

Please sign in to comment.