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

Sam Ravnborg
2009-05-14T06:14:12Z

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@arndb.de> 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