summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2017-04-28 22:19:28 +0200
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2017-06-08 17:25:37 +0200
commitea9b0c8a26a2cadfe49382d679eee88d3c4de79c (patch)
tree4646fab645e63273a1f822c7e4045402969233b5 /init
parentrcu: Add lockdep_assert_held() teeth to tree.c (diff)
downloadlinux-ea9b0c8a26a2cadfe49382d679eee88d3c4de79c.tar.xz
linux-ea9b0c8a26a2cadfe49382d679eee88d3c4de79c.zip
rcu: Add lockdep_assert_held() teeth to tree_plugin.h
Comments can be helpful, but assertions carry more force. This commit therefore adds lockdep_assert_held() and RCU_LOCKDEP_WARN() calls to enforce lock-held and interrupt-disabled preconditions. Reported-by: Peter Zijlstra <peterz@infradead.org> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions