aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/rcuclassic.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/rcuclassic.c')
-rw-r--r--kernel/rcuclassic.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/rcuclassic.c b/kernel/rcuclassic.c
index 743cf0550ff4..ed15128ca2c9 100644
--- a/kernel/rcuclassic.c
+++ b/kernel/rcuclassic.c
@@ -561,15 +561,15 @@ static void __rcu_process_callbacks(struct rcu_ctrlblk *rcp,
561 local_irq_restore(flags); 561 local_irq_restore(flags);
562 562
563 if (rcu_batch_after(rdp->batch, rcp->pending)) { 563 if (rcu_batch_after(rdp->batch, rcp->pending)) {
564 unsigned long flags; 564 unsigned long flags2;
565 565
566 /* and start it/schedule start if it's a new batch */ 566 /* and start it/schedule start if it's a new batch */
567 spin_lock_irqsave(&rcp->lock, flags); 567 spin_lock_irqsave(&rcp->lock, flags2);
568 if (rcu_batch_after(rdp->batch, rcp->pending)) { 568 if (rcu_batch_after(rdp->batch, rcp->pending)) {
569 rcp->pending = rdp->batch; 569 rcp->pending = rdp->batch;
570 rcu_start_batch(rcp); 570 rcu_start_batch(rcp);
571 } 571 }
572 spin_unlock_irqrestore(&rcp->lock, flags); 572 spin_unlock_irqrestore(&rcp->lock, flags2);
573 } 573 }
574 } 574 }
575 575