]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commited4fa2442e87bf9143d608473df117589e4bfc70
tree935f5df6b376d8711230a93d0bc4cfc8031c2ce3
parent586e4d4193a653eef21f02b50dee89e2e4be208c
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