rcu: Make rcu_idle_enter() rely on callers disabling irqs
authorPeter Zijlstra (Intel) <peterz@infradead.org>
Wed, 12 Jul 2017 14:59:54 +0000 (07:59 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 17 Aug 2017 14:26:24 +0000 (07:26 -0700)
commit3a60799269daff5ed254a9b473a8db6f0f5c6bd9
treef2e5e4b345aa687db597864c4c8d85d6ce183ebf
parent2dee9404fa8c4384453a5f3a15ad74ab9480f2d6
rcu: Make rcu_idle_enter() rely on callers disabling irqs

All callers to rcu_idle_enter() have irqs disabled, so there is no
point in rcu_idle_enter disabling them again.  This commit therefore
replaces the irq disabling with a RCU_LOCKDEP_WARN().

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcu/tree.c