diff options
Diffstat (limited to 'kernel/rcuclassic.c')
-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 c6b6cf55f3e2..01e761a6b38c 100644 --- a/kernel/rcuclassic.c +++ b/kernel/rcuclassic.c | |||
@@ -557,6 +557,8 @@ static void __rcu_process_callbacks(struct rcu_ctrlblk *rcp, | |||
557 | local_irq_enable(); | 557 | local_irq_enable(); |
558 | 558 | ||
559 | if (rcu_batch_after(rdp->batch, rcp->pending)) { | 559 | if (rcu_batch_after(rdp->batch, rcp->pending)) { |
560 | unsigned long flags; | ||
561 | |||
560 | /* and start it/schedule start if it's a new batch */ | 562 | /* and start it/schedule start if it's a new batch */ |
561 | spin_lock_irqsave(&rcp->lock, flags); | 563 | spin_lock_irqsave(&rcp->lock, flags); |
562 | if (rcu_batch_after(rdp->batch, rcp->pending)) { | 564 | if (rcu_batch_after(rdp->batch, rcp->pending)) { |