powerpc/pseries: use slab context cpumask allocation in CPU hotplug init
authorNicholas Piggin <npiggin@gmail.com>
Fri, 5 Nov 2021 13:29:23 +0000 (23:29 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 16 Dec 2021 10:31:46 +0000 (21:31 +1100)
commit3b54c71537d7beaaca8be9c57a81045e2b641655
tree14a8246ba12cb71b7290f438c2e25e719a0f72f0
parentaf47d79b041deccc31e0dddc6310a654c13d04b6
powerpc/pseries: use slab context cpumask allocation in CPU hotplug init

Slab is up at this point, using the bootmem allocator triggers a
warning. Switch to using the regular cpumask allocator.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Tested-by: Sachin Sant <sachinp@linux.vnet.ibm.com>
Reviewed-by: Nathan Lynch <nathanl@linux.ibm.com>
Reviewed-by: Laurent Dufour <ldufour@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20211105132923.1582514-1-npiggin@gmail.com
arch/powerpc/platforms/pseries/hotplug-cpu.c