Re: [PATCH - RFC] x86: unify arch/x86/kernel/Makefile(s)

From: Sam Ravnborg
Date: Sun Dec 30 2007 - 16:11:22 EST


On Sun, Dec 30, 2007 at 04:06:02PM +0100, Ingo Molnar wrote:
>
> * Ingo Molnar <mingo@xxxxxxx> wrote:
>
> > > Combine the 32 and 64 bit specific Makefiles in one file. While
> > > doing so link order was (almost) preserved on 32 bit but on 64 bit
> > > link order changed a lot.
> > >
> > > Patch was checked with defconfig + allyesconfig builds. The same .o
> > > files were linked in these configurations.
> > >
> > > To keep readability of the Makefiles a few Kconfig symbols was
> > > added/modified and it was checked that they were not used anywhere
> > > else.
> >
> > hm, i agree with this change, but would it be possible to split this
> > up into gradual steps, to change the rules on 64-bit one by one? That
> > would make it much more bisectable. In our experience changes to the
> > link order have a high likelyhood of breaking stuff, as we've got so
> > many implicit initcall dependencies that are not explicitly spelled
> > out.
>
> i've added your full patch meanwhile - maybe we can get away with it.
>
> Still, if you see any easy way to do a straightforward series of ~40
> patches that changes one link rule per patch then that would be great
> and we could add them as an easier-to-bisect replacement for this one
> large-scope patch.

If it turns out to cause troubles I will redo it in a few smaller steps.
But I will have to do it by hand so most likely less than 10 steps.

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/