diff options
-rw-r--r-- | kernel/rcuclassic.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/rcuclassic.c b/kernel/rcuclassic.c index c6b6cf55f3e..01e761a6b38 100644 --- a/kernel/rcuclassic.c +++ b/kernel/rcuclassic.c @@ -557,6 +557,8 @@ static void __rcu_process_callbacks(struct rcu_ctrlblk *rcp, local_irq_enable(); if (rcu_batch_after(rdp->batch, rcp->pending)) { + unsigned long flags; + /* and start it/schedule start if it's a new batch */ spin_lock_irqsave(&rcp->lock, flags); if (rcu_batch_after(rdp->batch, rcp->pending)) { |