Re: [git pull] generic bitops, take 2

From: Sam Ravnborg
Date: Sat Apr 26 2008 - 13:34:28 EST


On Sat, Apr 26, 2008 at 10:03:31AM -0700, Linus Torvalds wrote:
>
>
> On Sat, 26 Apr 2008, Ingo Molnar wrote:
> >
> > i've added Alexander's patch that does the cleanup suggested by you
>
> Well.. Not really:
>
> > diff --git a/arch/um/Kconfig.x86_64 b/arch/um/Kconfig.x86_64
> > index 3fbe69e..7a75043 100644
> > --- a/arch/um/Kconfig.x86_64
> > +++ b/arch/um/Kconfig.x86_64
> > @@ -27,6 +27,14 @@ config SMP_BROKEN
> > bool
> > default y
> >
> > +config GENERIC_FIND_FIRST_BIT
> > + bool
> > + default y
> > +
> > +config GENERIC_FIND_NEXT_BIT
> > + bool
> > + default y
> > +
>
> It still declares this GENERIC_FIND_*_BIT thing separately for UM.

It would be nice if this could follow the sample outlined
in Documentation/kbuild/kconfig-language.txt.

See the section about HAVE_

Basically we should only define the config symbol once in all
the Kconfig files and where we then want to use this function
we should select the config symbol.

Sam
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/