aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/sched/core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index ea2213b07d9d..4adcd237c545 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -3570,6 +3570,7 @@ asmlinkage void __sched preempt_schedule_irq(void)
3570 /* Catch callers which need to be fixed */ 3570 /* Catch callers which need to be fixed */
3571 BUG_ON(ti->preempt_count || !irqs_disabled()); 3571 BUG_ON(ti->preempt_count || !irqs_disabled());
3572 3572
3573 rcu_user_exit();
3573 do { 3574 do {
3574 add_preempt_count(PREEMPT_ACTIVE); 3575 add_preempt_count(PREEMPT_ACTIVE);
3575 local_irq_enable(); 3576 local_irq_enable();