diff options
author | Sebastian Andrzej Siewior <[email protected]> | 2021-08-03 16:16:15 +0200 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2021-08-10 14:53:00 +0200 |
commit | 746f5ea9c4283d98353c1cd41864aec475e0edbd (patch) | |
tree | a1bd4e368ed5184481bac30cb8ea8a64dc1409e1 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | f4dddf90d58d77b48492b775868af4041a217f4c (diff) |
sched: 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.
Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions