diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c index 76f88b65961f9e283a1b2d6cf9faeb1464f753f8..5f4eccac170102b95c82cc7ee247af201a214132 100644 --- a/kernel/rcu/tree.c +++ b/kernel/rcu/tree.c @@ -859,7 +859,8 @@ EXPORT_SYMBOL_GPL(rcu_idle_enter); */ void rcu_user_enter(void) { - rcu_eqs_enter(1); + RCU_LOCKDEP_WARN(!irqs_disabled(), "rcu_user_enter() invoked with irqs enabled!!!"); + rcu_eqs_enter(true); } #endif /* CONFIG_NO_HZ_FULL */