Re: [RESEND][PATCH 1/2] lib/scatterlist: Make ARCH_HAS_SG_CHAIN an actual Kconfig

Christoph Hellwig
2014-03-23T07:03:43Z

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
> > <http://www.arm.linux.org.uk/>.
> >
> > 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.