]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Replace deprecated CPU-hotplug functions.
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Tue, 3 Aug 2021 14:15:45 +0000 (16:15 +0200)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Thu, 5 Aug 2021 08:57:01 +0000 (10:57 +0200)
commitc25ee07146ec8506a57c54f84b2eb46859f6f533
treeb5cb1440170e76107ca169f5269434eb61ebf317
parent8175ee9f39b1fdd2e4c0cf9c758b5a44c73ac875
MIPS: 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.

Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: linux-mips@vger.kernel.org
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/kernel/mips-mt-fpaff.c
arch/mips/kernel/process.c