Documentation: Replace deprecated CPU-hotplug functions.
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Tue, 3 Aug 2021 14:15:44 +0000 (16:15 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 27 Aug 2021 23:46:17 +0000 (01:46 +0200)
commitc7483d823ee0da31e42d32e51a752f667a059735
treed92577113ec2bddcba80cb0647883691b51ab372
parent49b3bd213a9f3d685784913c255c6a2cb3d1fcce
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
Documentation/core-api/cpu_hotplug.rst
Documentation/trace/ftrace.rst