powerpc: Replace cpumask_weight(cpu_possible_mask) with num_possible_cpus()
num_possible_cpus() is just a shorthand for it. Signed-off-by: Emil Medve <Emilian.Medve@Freescale.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:
committed by
Michael Ellerman
parent
bf794bf52a
commit
53a448c3d5
@@ -148,7 +148,7 @@ int __init xics_smp_probe(void)
|
||||
/* Register all the IPIs */
|
||||
xics_request_ipi();
|
||||
|
||||
return cpumask_weight(cpu_possible_mask);
|
||||
return num_possible_cpus();
|
||||
}
|
||||
|
||||
#endif /* CONFIG_SMP */
|
||||
|
||||
Reference in New Issue
Block a user