rcu: Use wrapper for lockdep asserts
authorMatthew Wilcox <mawilcox@microsoft.com>
Wed, 17 Jan 2018 14:24:30 +0000 (06:24 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 21 Feb 2018 00:12:26 +0000 (16:12 -0800)
commita32e01ee689794a26bdfdbaa7e8c334576cee36c
tree7c6f36a0dd649bbbfc40a85e90fd4ba277044b88
parent65518db86b9ed1180b013c8a34c73c6ff7275886
rcu: Use wrapper for lockdep asserts

Commits c0b334c5bfa9 and ea9b0c8a26a2 introduced new sparse warnings
by accessing rcu_node->lock directly and ignoring the __private
marker.  Introduce a new wrapper and use it.  Also fix a similar problem
in srcutree.c introduced by a3883df3935e.

Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcu/rcu.h
kernel/rcu/srcutree.c
kernel/rcu/tree.c
kernel/rcu/tree_plugin.h