From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 2DB1A2C00BE for ; Sun, 23 Mar 2014 20:00:17 +1100 (EST) Message-ID: <1395565113.3460.106.camel@pasglop> Subject: Re: [RESEND][PATCH 1/2] lib/scatterlist: Make ARCH_HAS_SG_CHAIN an actual Kconfig From: Benjamin Herrenschmidt To: Christoph Hellwig Date: Sun, 23 Mar 2014 19:58:33 +1100 In-Reply-To: <20140323070343.GA17945@infradead.org> References: <1395512032-20575-1-git-send-email-lauraa@codeaurora.org> <1395512032-20575-2-git-send-email-lauraa@codeaurora.org> <1395543886.3460.95.camel@pasglop> <20140323070343.GA17945@infradead.org> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Cc: linux-ia64@vger.kernel.org, Heiko Carstens , Paul Mackerras , "H. Peter Anvin" , sparclinux@vger.kernel.org, linux-s390@vger.kernel.org, Russell King , linux-scsi@vger.kernel.org, x86@kernel.org, Ingo Molnar , Fenghua Yu , Laura Abbott , Thomas Gleixner , linux-arm-kernel@lists.infradead.org, Tony Luck , linux-kernel@vger.kernel.org, "James E.J. Bottomley" , Martin Schwidefsky , linux390@de.ibm.com, Andrew Morton , linuxppc-dev@lists.ozlabs.org, "David S. Miller" List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Sun, 2014-03-23 at 00:03 -0700, Christoph Hellwig wrote: > On Sun, Mar 23, 2014 at 02:04:46PM +1100, Benjamin Herrenschmidt wrote: > > > > > diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig > > > index 1594945..8122294 100644 > > > --- a/arch/arm/Kconfig > > > +++ b/arch/arm/Kconfig > > > @@ -82,6 +82,7 @@ config ARM > > > . > > > > > > config ARM_HAS_SG_CHAIN > > > + select ARCH_HAS_SG_CHAIN > > > bool > > > > > > > Heh, a self-selecting config option... I didn't know that trick ! > > ARM vs ARCH. However the arm variant of the variable should probably be > consolidated into the ARCH one as a follow up. Oh right... sorry for the noise. Ben.