aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/rcu/tree_plugin.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/rcu/tree_plugin.h b/kernel/rcu/tree_plugin.h
index 2e850a51bb8f..bca28b00f7e6 100644
--- a/kernel/rcu/tree_plugin.h
+++ b/kernel/rcu/tree_plugin.h
@@ -327,6 +327,7 @@ void rcu_read_unlock_special(struct task_struct *t)
327 special = t->rcu_read_unlock_special; 327 special = t->rcu_read_unlock_special;
328 if (special.b.need_qs) { 328 if (special.b.need_qs) {
329 rcu_preempt_qs(); 329 rcu_preempt_qs();
330 t->rcu_read_unlock_special.b.need_qs = false;
330 if (!t->rcu_read_unlock_special.s) { 331 if (!t->rcu_read_unlock_special.s) {
331 local_irq_restore(flags); 332 local_irq_restore(flags);
332 return; 333 return;