[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080522013608.GW28946@ZenIV.linux.org.uk>
Date: Thu, 22 May 2008 02:36:08 +0100
From: Al Viro <viro@...IV.linux.org.uk>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Harvey Harrison <harvey.harrison@...il.com>,
Paul Mackerras <paulus@...ba.org>,
Takashi Iwai <tiwai@...e.de>, linux-kernel@...r.kernel.org
Subject: Re: Moving include/asm-* [was: Re: Moving sound/* to drivers/ ?]
On Wed, May 21, 2008 at 06:29:43PM -0700, Linus Torvalds wrote:
>
>
> On Wed, 21 May 2008, Harvey Harrison wrote:
> >
> > What about say, sparc64 that has a lot of #include <asm-sparc/foo.h>
>
> Ahh, I didn't realize people did that.
>
> I assume (but am too lazy to check) that UML probably does something
> similar for its arch-specific stuff.
arch/um/include/*.h
arch/um/include/sysdep-<target>/*.h
include/asm-um/*.h
plus
arch/um/include/sysdep -> sysdep-<target>
and
include/asm-um/arch -> ../asm-<target>
Note that uml has two halves - kernel-side and userland-side. The latter
is build with host search path, etc., with addition of arch/um/include.
The former is normal kernel code, with addition of arch/um/include again.
So some things in that sucker are for kernel-side and some - for userland
side...
--
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