]> git.baikalelectronics.ru Git - kernel.git/commit
smpboot: Replace deprecated CPU-hotplug functions.
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Tue, 3 Aug 2021 14:16:16 +0000 (16:16 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 10 Aug 2021 12:57:42 +0000 (14:57 +0200)
commit69b66145924d5892a1b73c5fdc3d01d29bb223a8
tree2dfe682bb01bbe96f0bfab3114efb7a22727d470
parent45b992ef006d74ad4ece6c30745c0f626619dd0e
smpboot: 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: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20210803141621.780504-34-bigeasy@linutronix.de
kernel/smpboot.c