summaryrefslogtreecommitdiff
path: root/kernel/rcu/tree.c
diff options
context:
space:
mode:
authorBoqun Feng <boqun.feng@gmail.com>2018-03-09 09:32:18 +0800
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2018-06-26 12:25:55 -0700
commitce11fae8d43fe9a36823fbbfe7c44de775b7e346 (patch)
tree15538a790633c47f67f31793f19e5c2f3ca1a806 /kernel/rcu/tree.c
parent4bc8d55574dd316e43975651b9259c5c18d741fc (diff)
rcu: Use the proper lockdep annotation in dump_blkd_tasks()
Sparse reported this: | kernel/rcu/tree_plugin.h:814:9: warning: incorrect type in argument 1 (different modifiers) | kernel/rcu/tree_plugin.h:814:9: expected struct lockdep_map const *lock | kernel/rcu/tree_plugin.h:814:9: got struct lockdep_map [noderef] *<noident> This is caused by using vanilla lockdep annotations on rcu_node::lock, and that requires accessing ->lock of rcu_node directly. However we need to keep rcu_node::lock __private to avoid breaking its extra ordering guarantee. And we have a dedicated lockdep annotation for rcu_node::lock, so use it. Signed-off-by: Boqun Feng <boqun.feng@gmail.com> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rcu/tree.c')
0 files changed, 0 insertions, 0 deletions