mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 03:44:45 +01:00
checkpatch: Deprecate rcu_read_{,un}lock_trace()
Uses of rcu_read_lock_trace() and rcu_read_unlock_trace() are better served by the new rcu_read_lock_tasks_trace() and rcu_read_unlock_tasks_trace() APIs. Therefore, mark the old APIs as deprecated. Signed-off-by: Paul E. McKenney <paulmck@kernel.org> Acked-by: Joe Perches <joe@perches.com> Cc: Andy Whitcroft <apw@canonical.com> Cc: Dwaipayan Ray <dwaipayanray1@gmail.com> Cc: Lukas Bulwahn <lukas.bulwahn@gmail.com> Cc: Andrii Nakryiko <andrii@kernel.org> Cc: Alexei Starovoitov <ast@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: bpf@vger.kernel.org Reviewed-by: Joel Fernandes <joelagnelf@nvidia.com> Signed-off-by: Boqun Feng <boqun.feng@gmail.com>
This commit is contained in:
parent
c0872be261
commit
e55c2e2871
1 changed files with 3 additions and 1 deletions
|
|
@ -863,7 +863,9 @@ our %deprecated_apis = (
|
|||
#These should be enough to drive away new IDR users
|
||||
"DEFINE_IDR" => "DEFINE_XARRAY",
|
||||
"idr_init" => "xa_init",
|
||||
"idr_init_base" => "xa_init_flags"
|
||||
"idr_init_base" => "xa_init_flags",
|
||||
"rcu_read_lock_trace" => "rcu_read_lock_tasks_trace",
|
||||
"rcu_read_unlock_trace" => "rcu_read_unlock_tasks_trace",
|
||||
);
|
||||
|
||||
#Create a search pattern for all these strings to speed up a loop below
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue