Re: [PATCH 01/15] asm-generic: rename termios.h, signal.h and mman.h

From: Sam Ravnborg
Date: Thu May 14 2009 - 02:14:26 EST


On Thu, May 14, 2009 at 03:11:07PM +1000, Stephen Rothwell wrote:
> Hi Arnd,
>
> On Wed, 13 May 2009 22:56:24 +0000 Arnd Bergmann <arnd@xxxxxxxx> wrote:
> >
> > --- a/include/asm-generic/Kbuild
> > +++ b/include/asm-generic/Kbuild
> > @@ -2,9 +2,9 @@ header-y += errno-base.h
> > header-y += errno.h
> > header-y += fcntl.h
> > header-y += ioctl.h
> > -header-y += mman.h
> > +header-y += mman-common.h
> > header-y += poll.h
> > -header-y += signal.h
> > +header-y += signal-defs.h
> > header-y += statfs.h
>
> I think that this change will prevent asm/mman.h and asm/signal.h from
> being exported from the arch include/asm directories.
> include/asm-generic/Kbuild is included by the arch/*/include/asm/Kbuild
> files.

We have two Kbuild files in asm-generic.

Kbuild (the one patched above) which specifies the files to be exported from asm-generic.
Kbuild.asm which specify the commen set of files all architctures hall export.

The latter is the file included from the arch's Kbuild file.

I'm not sure this answer/address your comment above...

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/