rcu: Make srcu_read_lock_held() call common lockdep-enabled function
authorPaul E. McKenney <paul.mckenney@linaro.org>
Fri, 7 Oct 2011 16:22:05 +0000 (18:22 +0200)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sun, 11 Dec 2011 18:31:34 +0000 (10:31 -0800)
commit867f236bd12f5091df6dc7cc75f94d7fd982d78a
treea509f021062780e5a1f2ab8e5a63f7f016a14c28
parentff195cb69ba8d2af9b891be3a26db95fe1999d43
rcu: Make srcu_read_lock_held() call common lockdep-enabled function

A common debug_lockdep_rcu_enabled() function is used to check whether
RCU lockdep splats should be reported, but srcu_read_lock() does not
use it.  This commit therefore brings srcu_read_lock_held() up to date.

Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
include/linux/srcu.h