Re: Linux v2.6.24-rc1

Sam Ravnborg
2007-10-24T11:06:16Z

On Wed, Oct 24, 2007 at 09:04:51AM +0100, Christoph Hellwig wrote:
> On Tue, Oct 23, 2007 at 09:19:16PM -0700, Linus Torvalds wrote:
> > In short, we just had an unusually large amount of not just x86 merges,
>
> Btw, can we please finis up this merge a little more before we freeze
> 2.6.24? The way we currently have leftovers of arch/i386/ and arch/x86_64/
> is quite a nightmare and not how the other architectures were merged.

If these 10 files gives you nightmares then poor soul ;-)

Anyway - the primary issue is the two defconfig files and the Kconfig stuff.
For defconfig we can inheritate the solution from powerpc where
the defconfig file is selected based on architecture.
Something like a
DEFCONFIG := defconfig_$(ARCH)

and then stuff them in configs/ directory.

The Kconfig stuff could be handled by special casing in scripts/kconfig.
We cannot just do the more obvious which is source the files since
they have conflicting choice symbols.
That could be fixed but requires a bit more work to do so - since we need
to track all relevant usages of the choice symbols and rename these.
We could also teach kconfig to allow duplicate symbols names in two choices
but Roman Zippel has not done that yet.

The Makefile stuff is trivial to merge.

The above is not preventing us - more what needs to be done.

Sam