[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090420014158.GV26366@ZenIV.linux.org.uk>
Date: Mon, 20 Apr 2009 02:41:58 +0100
From: Al Viro <viro@...IV.linux.org.uk>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Sam Ravnborg <sam@...nborg.org>, Paul Mundt <lethal@...ux-sh.org>,
linux-kbuild <linux-kbuild@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Russell King <rmk+lkml@....linux.org.uk>,
Ingo Molnar <mingo@...hat.com>,
"H. Peter Anvin" <hpa@...or.com>,
Thomas Gleixner <tglx@...utronix.de>
Subject: Re: [GIT] kbuild
On Sun, Apr 19, 2009 at 05:52:32PM -0700, Linus Torvalds wrote:
>
>
> On Mon, 20 Apr 2009, Sam Ravnborg wrote:
> >
> > You will soon see a path from me where I fix sh too.
>
> Can we do a global 'sed s:asm/asm-offsets.h:generated/asm-offsets.h:g'
> thing too? And then get rid of the include/asm symlink?
>
> That asm-offsets.h mess is scary. I don't quite know why kvm on ia64 seems
> to do it's own asm-offsets.h file, for example. And arch/blackfin/Makefile
> mentions arch/$(ARCH)/include/asm/asm-offsets.h (but does it actually do
> one?).
We'll need to update uml as well (contents of shared/kern_constants.h)
As for the arch/ia64/kvm/asm-offsets, AFAICS that could go straight into
arch/ia64/kernel/asm-offsets.c, under ifdef CONFIG_KVM.
I'm not sure about sed job, BTW - might be better to start with
arch/*/include/asm/asm-offsets.h containing just one include, then
do the transition you want piece by piece. And then kill these
files as corresponding architectures lose the last unconverted includes.
Fewer merge conflicts with the stuff in architecture trees that way and the
final result will be exactly the same...
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists