diff options
| author | Sebastian Andrzej Siewior <[email protected]> | 2021-08-03 14:16:18 +0000 |
|---|---|---|
| committer | Paul E. McKenney <[email protected]> | 2021-08-10 17:48:07 +0000 |
| commit | ed4fa2442e87bf9143d608473df117589e4bfc70 (patch) | |
| tree | 935f5df6b376d8711230a93d0bc4cfc8031c2ce3 /lib/test_stackinit.c | |
| parent | scftorture: Avoid NULL pointer exception on early exit (diff) | |
| download | kernel-ed4fa2442e87bf9143d608473df117589e4bfc70.tar.gz kernel-ed4fa2442e87bf9143d608473df117589e4bfc70.zip | |
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 <[email protected]>
Cc: "Paul E. McKenney" <[email protected]>
Cc: Josh Triplett <[email protected]>
Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'lib/test_stackinit.c')
0 files changed, 0 insertions, 0 deletions
