diff options
author | 2011-07-08 08:48:24 -0700 | |
---|---|---|
committer | 2011-09-28 21:38:23 -0700 | |
commit | e5177ec77d503636d0b609671c9d408b981add17 (patch) | |
tree | d6a8e7fa1790fe04caa2d6afeabd8f09f95b5555 /kernel/rtmutex.c | |
parent | rcu: Simplify quiescent-state accounting (diff) | |
download | wireguard-linux-e5177ec77d503636d0b609671c9d408b981add17.tar.xz wireguard-linux-e5177ec77d503636d0b609671c9d408b981add17.zip |
rcu: Not necessary to pass rcu_read_lock_held() to rcu_dereference_protected()
Since ca5ecddf (rcu: define __rcu address space modifier for sparse)
rcu_dereference_check() use rcu_read_lock_held() as a part of condition
automatically. Therefore, callers of rcu_dereference_check() no longer
need to pass rcu_read_lock_held() to rcu_dereference_check().
Signed-off-by: Michal Hocko <mhocko@suse.cz>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rtmutex.c')
0 files changed, 0 insertions, 0 deletions