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

From: Arnd Bergmann
Date: Mon Sep 21 2009 - 04:31:47 EST


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.

Arnd <><
--
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/