summaryrefslogtreecommitdiffstats
path: root/Documentation/trace/ftrace.rst
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2021-08-03 16:15:44 +0200
committerThomas Gleixner <tglx@linutronix.de>2021-08-28 01:46:17 +0200
commitc7483d823ee0da31e42d32e51a752f667a059735 (patch)
treed92577113ec2bddcba80cb0647883691b51ab372 /Documentation/trace/ftrace.rst
parentsmp: Fix all kernel-doc warnings (diff)
downloadlinux-c7483d823ee0da31e42d32e51a752f667a059735.tar.xz
linux-c7483d823ee0da31e42d32e51a752f667a059735.zip
Documentation: 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(). Update the documentation accordingly. Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/r/20210803141621.780504-2-bigeasy@linutronix.de
Diffstat (limited to '')
-rw-r--r--Documentation/trace/ftrace.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/trace/ftrace.rst b/Documentation/trace/ftrace.rst
index cfc81e98e0b8..4e5b26f03d5b 100644
--- a/Documentation/trace/ftrace.rst
+++ b/Documentation/trace/ftrace.rst
@@ -2762,7 +2762,7 @@ listed in:
put_prev_task_idle
kmem_cache_create
pick_next_task_rt
- get_online_cpus
+ cpus_read_lock
pick_next_task_fair
mutex_lock
[...]