Re: [PATCH] remove duplicate asm/mman.h files

Arnd Bergmann
2009-09-21T08:31:25Z

On Friday 18 September 2009, David Rientjes wrote:
> On Fri, 18 Sep 2009, Arnd Bergmann wrote:
>
> > -#define MCL_CURRENT 1 /* lock all current mappings */
> > -#define MCL_FUTURE 2 /* lock all future mappings */
> > +#define MAP_GROWSUP 0x0200 /* register stack-like segment */
> >
> > #ifdef __KERNEL__
> > #ifndef __ASSEMBLY__
>
> ia64 doesn't use MAP_GROWSUP, so it's probably not necessary to carry it
> along with your cleanup.

ia64 is the only architecture defining it, nobody uses it in the kernel.
If the ia64 maintainers want to remove it in a separate patch, that
would probably be a good idea.

I tried not to change the ABI in any way in my patch, and there is
a theoretical possibility that some user space program on ia64 currently
depends on that definition.