x86/mmiotrace: Replace deprecated CPU-hotplug functions.
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Tue, 3 Aug 2021 14:15:49 +0000 (16:15 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 10 Aug 2021 12:46:27 +0000 (14:46 +0200)
commit77ad320cfb2ac172eeba32a77a388281b003ec17
tree17b96cce65d3c157beffdb98ba88d8dca7e57fb5
parent36a21d51725af2ce0700c6ebcb6b9594aac658a6
x86/mmiotrace: 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>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Link: https://lore.kernel.org/r/20210803141621.780504-7-bigeasy@linutronix.de
arch/x86/mm/mmio-mod.c