]> 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)
commitc863a732bd9a43d63d5e3ac72431664beacc0ce4
treee8668c4452399a8d0bff65e61906386063f92968
parente2cc90c925ffb0a396e53defd871d6f7bc0711a7
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