Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 110782
b: refs/heads/master
c: 3a72dc8
h: refs/heads/master
v: v3
  • Loading branch information
Harvey Harrison authored and Ingo Molnar committed Sep 23, 2008
1 parent ba597a2 commit ec531e0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e8aed68614c81f24d8c4cbcb4923f848ece846e1
refs/heads/master: 3a72dc8eb5a7122fff439a22bd22486a4fff505c
6 changes: 3 additions & 3 deletions trunk/kernel/rcuclassic.c
Original file line number Diff line number Diff line change
Expand Up @@ -561,15 +561,15 @@ static void __rcu_process_callbacks(struct rcu_ctrlblk *rcp,
local_irq_restore(flags);

if (rcu_batch_after(rdp->batch, rcp->pending)) {
unsigned long flags;
unsigned long flags2;

/* and start it/schedule start if it's a new batch */
spin_lock_irqsave(&rcp->lock, flags);
spin_lock_irqsave(&rcp->lock, flags2);
if (rcu_batch_after(rdp->batch, rcp->pending)) {
rcp->pending = rdp->batch;
rcu_start_batch(rcp);
}
spin_unlock_irqrestore(&rcp->lock, flags);
spin_unlock_irqrestore(&rcp->lock, flags2);
}
}

Expand Down

0 comments on commit ec531e0

Please sign in to comment.