s390/sclp: replace deprecated CPU-hotplug functions
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Tue, 3 Aug 2021 14:15:48 +0000 (16:15 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Thu, 5 Aug 2021 12:10:53 +0000 (14:10 +0200)
commit52b6defae7de31aaa960e78e506f882c12b4af53
tree7e776e30354ff57a9dd8a7164de1bcf1b2252eda
parenta73de29320287d0e72b9e158879cb047e226ec2b
s390/sclp: 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-6-bigeasy@linutronix.de
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
drivers/s390/char/sclp_config.c