]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rcu: Make srcu_read_lock_held() call common lockdep-enabled function
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Fri, 8 Jul 2011 15:08:19 +0000 (08:08 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 13 Sep 2011 15:46:41 +0000 (08:46 -0700)
commit0f0cd2c4c0b4eb4df7cccf79121a4af585c65884
tree50badb212f4492519ea695b03f79041a3d91cee3
parentc1f960b53e248bed01368dbbe1a68b64866b47ed
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 <paulmck@linux.vnet.ibm.com>
include/linux/srcu.h