]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Replace deprecated CPU-hotplug functions.
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Tue, 3 Aug 2021 14:15:46 +0000 (16:15 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 10 Aug 2021 13:14:56 +0000 (23:14 +1000)
commit5100af517152e857e139ada72a73e7e94977967e
treed274b6695718f8722470605f8ce4cf49c92653c6
parent0ff93ae36439721d0093d79abd0833ebc4191ef3
powerpc: Replace deprecated CPU-hotplug functions.

The functions get_online_cpus() and put_online_cpus() have been
deprecated during the CPU hotplug rework. They map directly to
cpus_read_lock() and cpus_read_unlock().

Replace deprecated CPU-hotplug functions with the official version.
The behavior remains unchanged.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210803141621.780504-4-bigeasy@linutronix.de
arch/powerpc/kernel/rtasd.c
arch/powerpc/kvm/book3s_hv_builtin.c
arch/powerpc/platforms/powernv/idle.c
arch/powerpc/platforms/powernv/opal-imc.c