tracing: Replace deprecated CPU-hotplug functions.
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Tue, 3 Aug 2021 14:16:19 +0000 (16:16 +0200)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Tue, 17 Aug 2021 19:47:14 +0000 (15:47 -0400)
commit99c37d1a63eafcd3673302a7953df760b46d0f6f
tree647124a3fdf14f13aaa3d1d947d4af1067bb33d9
parentdb396be6ddc4b953db3a725e19945fd4f151cfe9
tracing: 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.

Link: https://lkml.kernel.org/r/20210803141621.780504-37-bigeasy@linutronix.de
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Ingo Molnar <mingo@redhat.com>
Acked-by: Daniel Bristot de Oliveira <bristot@kernel.org>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/ring_buffer.c
kernel/trace/trace_hwlat.c
kernel/trace/trace_osnoise.c