Skip to content
Commit 773e3f93 authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

rcu: move check from rcu_dereference_bh to rcu_read_lock_bh_held



As suggested by Linus, push the irqs_disabled() down to the
rcu_read_lock_bh_held() level so that all callers get the benefit
of the correct check.

Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
parent b3a084b9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment