]> git.baikalelectronics.ru Git - kernel.git/commit
s390: replace deprecated CPU-hotplug functions
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Tue, 3 Aug 2021 14:15:47 +0000 (16:15 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Thu, 5 Aug 2021 12:10:53 +0000 (14:10 +0200)
commit90ded7017246a6a6c2df581bda19e6b02a529b58
tree35fcafd2dec2ae48d7d7fdaf6e414f3c33f1ff64
parent8c3ed0eb3b86eb97bf61c953a2f8c0cdeb099897
s390: 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>
Link: https://lore.kernel.org/r/20210803141621.780504-5-bigeasy@linutronix.de
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/hypfs/hypfs_diag0c.c
arch/s390/kernel/diag.c
arch/s390/kernel/irq.c
arch/s390/kernel/perf_cpum_cf.c
arch/s390/kernel/processor.c
arch/s390/kernel/smp.c
arch/s390/kernel/topology.c
arch/s390/mm/maccess.c