]> git.baikalelectronics.ru Git - kernel.git/commit
mm: Replace deprecated CPU-hotplug functions.
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Tue, 3 Aug 2021 14:16:03 +0000 (16:16 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 27 Aug 2021 23:46:17 +0000 (01:46 +0200)
commit459444fa3d3676a221c4b0c98a1bab639d0f58bf
treee8668c4452399a8d0bff65e61906386063f92968
parent14a4b0873829d494cde7882c1a0b43bbc0cb30b3
mm: 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-21-bigeasy@linutronix.de
mm/swap_slots.c
mm/vmstat.c