diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-07-12 19:03:35 +0300 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-08-17 17:26:25 +0300 |
commit | d4db30af51eb94ccfd0037e114c1c12cc299a3f8 (patch) | |
tree | b23375fb5eff959b7a4a9b3267144a5fa776a9bb /include/linux/rcupdate.h | |
parent | 3a60799269daff5ed254a9b473a8db6f0f5c6bd9 (diff) | |
download | linux-d4db30af51eb94ccfd0037e114c1c12cc299a3f8.tar.xz |
rcu: Add warning to rcu_idle_enter() for irqs enabled
All current callers of rcu_idle_enter() have irqs disabled, and
rcu_idle_enter() relies on this, but doesn't check. This commit
therefore adds a RCU_LOCKDEP_WARN() to add some verification to the trust.
While we are there, pass "true" rather than "1" to rcu_eqs_enter().
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'include/linux/rcupdate.h')
0 files changed, 0 insertions, 0 deletions