mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
b6decb7079
commit
115731312f
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue