Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S266447AbUFQKfq (ORCPT ); Thu, 17 Jun 2004 06:35:46 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S266449AbUFQKfq (ORCPT ); Thu, 17 Jun 2004 06:35:46 -0400 Received: from smtp105.mail.sc5.yahoo.com ([66.163.169.225]:52600 "HELO smtp105.mail.sc5.yahoo.com") by vger.kernel.org with SMTP id S266447AbUFQKfn (ORCPT ); Thu, 17 Jun 2004 06:35:43 -0400 Message-ID: <40D173F8.4060701@yahoo.com.au> Date: Thu, 17 Jun 2004 20:35:36 +1000 From: Nick Piggin User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040401 Debian/1.6-4 X-Accept-Language: en MIME-Version: 1.0 To: Geert Uytterhoeven CC: Marcelo Tosatti , Nuno Monteiro , Linux Kernel Development Subject: Re: rwsem-spinlock error References: <20040616183343.GA9940@logos.cnet> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 925 Lines: 32 Geert Uytterhoeven wrote: > On Wed, 16 Jun 2004, Marcelo Tosatti wrote: > >>: >> o rwsem race fixes backported from 2.6 > > >>Nuno Monteiro: >> o Fix rwsem-fix typo >> o Complete rwsem typo fix > > > | rwsem-spinlock.c: In function `__rwsem_wake_one_writer': > | rwsem-spinlock.c:111: `tsk' undeclared (first use in this function) > | rwsem-spinlock.c:111: (Each undeclared identifier is reported only once > | rwsem-spinlock.c:111: for each function it appears in.) > > How can this ever compile on any architecture? > Dangit. rwsem-spinlock.c isn't compiled for many architectures. It should just require a struct task_struct *tsk; sorry. - 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/