Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964917AbWAXScJ (ORCPT ); Tue, 24 Jan 2006 13:32:09 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932485AbWAXScJ (ORCPT ); Tue, 24 Jan 2006 13:32:09 -0500 Received: from pentafluge.infradead.org ([213.146.154.40]:59822 "EHLO pentafluge.infradead.org") by vger.kernel.org with ESMTP id S932482AbWAXScI (ORCPT ); Tue, 24 Jan 2006 13:32:08 -0500 Subject: Re: Define __raw_read_lock etc for uniprocessor builds From: Arjan van de Ven To: joe.korty@ccur.com Cc: Christoph Hellwig , mingo@elte.hu, akpm@osdl.org, linux-kernel@vger.kernel.org In-Reply-To: <20060124182942.GA16241@tsunami.ccur.com> References: <20060124180954.GA14506@tsunami.ccur.com> <20060124181712.GA13277@infradead.org> <20060124182942.GA16241@tsunami.ccur.com> Content-Type: text/plain Date: Tue, 24 Jan 2006 19:32:02 +0100 Message-Id: <1138127523.2977.70.camel@laptopd505.fenrus.org> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 (2.2.3-2.fc4) Content-Transfer-Encoding: 7bit X-SRS-Rewrite: SMTP reverse-path rewritten from by pentafluge.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1067 Lines: 27 On Tue, 2006-01-24 at 13:29 -0500, Joe Korty wrote: > On Tue, Jan 24, 2006 at 06:17:12PM +0000, Christoph Hellwig wrote: > > On Tue, Jan 24, 2006 at 01:09:54PM -0500, Joe Korty wrote: > > > > > > Make NOPed versions of __raw_read_lock and family available > > > under uniprocessor kernels. > > > > > > Discovered when compiling a uniprocessor kernel with the > > > fusyn patch applied. > > > > > > The standard kernel does not use __raw_read_lock etc > > > outside of spinlock.c, which may account for this bug > > > being undiscovered until now. > > > > No one should call these directly. Please fix your odd patch instead. > > Actually the patch calls the _raw version which is #defined to the __raw > version. So it is doing the correct thing. no it's not, it has no business calling the _raw version either. - 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/