aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorHiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>2008-08-19 00:49:51 -0400
committerIngo Molnar <mingo@elte.hu>2008-08-19 05:03:33 -0400
commit0c925d79234fe77589d8ff3861f9f8bb9e7fc3f6 (patch)
treec66005cd74469523883254bba513ac692d25bbcb /kernel
parenteff9b713ee3540ddab862095aaf4b1511a6758bc (diff)
rcuclassic: fix compilation NG
fix: CC kernel/rcuclassic.o kernel/rcuclassic.c: In function '__rcu_process_callbacks': kernel/rcuclassic.c:561: error: 'flags' undeclared (first use in this function) kernel/rcuclassic.c:561: error: (Each undeclared identifier is reported only once kernel/rcuclassic.c:561: error: for each function it appears in.) Declare missing variable flags. Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/rcuclassic.c2
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)) {