From: Michal Hocko Date: Fri, 8 Jul 2011 15:48:24 +0000 (-0700) Subject: rcu: Not necessary to pass rcu_read_lock_held() to rcu_dereference_protected() X-Git-Tag: v3.2-rc1~165^2^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5177ec77d503636d0b609671c9d408b981add17;p=pandora-kernel.git 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 Signed-off-by: Paul E. McKenney --- Reading git-diff-tree failed