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)
commit730d070ae9f12fff5d44fe8fb0547ae37d100da8
treeb5cb1440170e76107ca169f5269434eb61ebf317
parenta86aadeff2fe9203d9575f1c157d09b3c557d1ce
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