rcu: Replace deprecated CPU-hotplug functions
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Tue, 3 Aug 2021 14:16:14 +0000 (16:16 +0200)
committerPaul E. McKenney <paulmck@kernel.org>
Tue, 10 Aug 2021 17:47:32 +0000 (10:47 -0700)
commitd3dd95a8853f1d588e38e9d9d7c8cc2da412cc36
treefe6ee8c94f8dff0fd0fd1fa8c2d199cb731eb3a7
parent521c89b3a4022269c75b35062358d1dae4ebfa79
rcu: 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.

Cc: "Paul E. McKenney" <paulmck@kernel.org>
Cc: Josh Triplett <josh@joshtriplett.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Lai Jiangshan <jiangshanlai@gmail.com>
Cc: Joel Fernandes <joel@joelfernandes.org>
Cc: rcu@vger.kernel.org
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/tree.c