[PATCH] powerpc: Replace cpumask_weight(cpu_possible_mask) with num_possible_cpus()

Michael Ellerman mpe at ellerman.id.au
Thu Jan 22 12:12:22 AEDT 2015


On Wed, 2015-01-21 at 16:21 -0600, Emil Medve wrote:
> Signed-off-by: Emil Medve <Emilian.Medve at Freescale.com>

Why?

Because:

   #define num_possible_cpus()	cpumask_weight(cpu_possible_mask)


But please say so in future. I'll fix it up this time.

cheers




More information about the Linuxppc-dev mailing list