diff options
author | Sebastian Andrzej Siewior <[email protected]> | 2021-08-03 16:16:14 +0200 |
---|---|---|
committer | Paul E. McKenney <[email protected]> | 2021-08-10 10:47:32 -0700 |
commit | d3dd95a8853f1d588e38e9d9d7c8cc2da412cc36 (patch) | |
tree | fe6ee8c94f8dff0fd0fd1fa8c2d199cb731eb3a7 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | 521c89b3a4022269c75b35062358d1dae4ebfa79 (diff) |
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" <[email protected]>
Cc: Josh Triplett <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Mathieu Desnoyers <[email protected]>
Cc: Lai Jiangshan <[email protected]>
Cc: Joel Fernandes <[email protected]>
Cc: [email protected]
Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions