commit | e5177ec77d503636d0b609671c9d408b981add17 | [log] [tgz] |
---|---|---|
author | Michal Hocko <mhocko@suse.cz> | Fri Jul 08 08:48:24 2011 -0700 |
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Wed Sep 28 21:38:23 2011 -0700 |
tree | d6a8e7fa1790fe04caa2d6afeabd8f09f95b5555 | |
parent | e4cc1f22b2f4e9b0207a8cdb63e56dcf99e82d35 [diff] |
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>