diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2021-08-03 16:16:19 +0200 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2021-08-17 15:47:14 -0400 |
commit | 99c37d1a63eafcd3673302a7953df760b46d0f6f (patch) | |
tree | 647124a3fdf14f13aaa3d1d947d4af1067bb33d9 /kernel/trace/trace_events_synth.c | |
parent | db396be6ddc4b953db3a725e19945fd4f151cfe9 (diff) | |
download | lwn-99c37d1a63eafcd3673302a7953df760b46d0f6f.tar.gz lwn-99c37d1a63eafcd3673302a7953df760b46d0f6f.zip |
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>
Diffstat (limited to 'kernel/trace/trace_events_synth.c')
0 files changed, 0 insertions, 0 deletions