]> git.baikalelectronics.ru Git - kernel.git/commit
torture: Replace deprecated CPU-hotplug functions.
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Tue, 3 Aug 2021 14:16:18 +0000 (16:16 +0200)
committerPaul E. McKenney <paulmck@kernel.org>
Tue, 10 Aug 2021 17:48:07 +0000 (10:48 -0700)
commit689ec1b5c9196846e5a4e16380470c99ef9887d7
tree935f5df6b376d8711230a93d0bc4cfc8031c2ce3
parented8a6e6bceb1404837bf6a1829e0223cd291437a
torture: 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: Davidlohr Bueso <dave@stgolabs.net>
Cc: "Paul E. McKenney" <paulmck@kernel.org>
Cc: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/torture.c