rcu: Inform RCU of irq_exit() activity
[firefly-linux-kernel-4.4.55.git] / kernel / rcutiny_plugin.h
index 95df60ebe363ec6cd2f3390e4474eff52e12e00d..387c2759e1b04b6c833835b627110121d79aad63 100644 (file)
@@ -570,7 +570,7 @@ static noinline void rcu_read_unlock_special(struct task_struct *t)
                rcu_preempt_cpu_qs();
 
        /* Hardware IRQ handlers cannot block. */
-       if (in_irq()) {
+       if (in_irq() || in_serving_softirq()) {
                local_irq_restore(flags);
                return;
        }