Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754727AbYHSEwm (ORCPT ); Tue, 19 Aug 2008 00:52:42 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752016AbYHSEwe (ORCPT ); Tue, 19 Aug 2008 00:52:34 -0400 Received: from TYO202.gate.nec.co.jp ([202.32.8.206]:45367 "EHLO tyo202.gate.nec.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751982AbYHSEwd (ORCPT ); Tue, 19 Aug 2008 00:52:33 -0400 Message-Id: <48AA50EF.9010609@ct.jp.nec.com> Date: Mon, 18 Aug 2008 21:49:51 -0700 From: Hiroshi Shimamoto User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Ingo Molnar , "Paul E. McKenney" CC: linux-kernel@vger.kernel.org Subject: [PATCH -tip] rcuclassic: fix compilation NG Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1953 Lines: 41 From: Hiroshi Shimamoto 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.) kernel/rcuclassic.c:561: warning: type defaults to 'int' in declaration of '__dummy2' kernel/rcuclassic.c:561: warning: comparison of distinct pointer types lacks a cast kernel/rcuclassic.c:561: warning: type defaults to 'int' in declaration of '__dummy2' kernel/rcuclassic.c:561: warning: comparison of distinct pointer types lacks a cast kernel/rcuclassic.c:566: warning: type defaults to 'int' in declaration of '__dummy2' kernel/rcuclassic.c:566: warning: comparison of distinct pointer types lacks a cast kernel/rcuclassic.c:566: warning: type defaults to 'int' in declaration of '__dummy2' kernel/rcuclassic.c:566: warning: comparison of distinct pointer types lacks a cast Declare missing variable flagas. Signed-off-by: Hiroshi Shimamoto --- kernel/rcuclassic.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/kernel/rcuclassic.c b/kernel/rcuclassic.c index c6b6cf5..01e761a 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)) { -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/