From 965805e888b25d24cd5ca74b81ffdc61de6e0869 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 15 Aug 2008 22:35:53 +0000 Subject: * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Define MAP_STACK. * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise. --- sysdeps/unix/sysv/linux/i386/bits/mman.h | 1 + sysdeps/unix/sysv/linux/x86_64/bits/mman.h | 1 + 2 files changed, 2 insertions(+) (limited to 'sysdeps/unix') diff --git a/sysdeps/unix/sysv/linux/i386/bits/mman.h b/sysdeps/unix/sysv/linux/i386/bits/mman.h index 00cb982395..2b90c8d7d5 100644 --- a/sysdeps/unix/sysv/linux/i386/bits/mman.h +++ b/sysdeps/unix/sysv/linux/i386/bits/mman.h @@ -63,6 +63,7 @@ # define MAP_NORESERVE 0x04000 /* Don't check for reservations. */ # define MAP_POPULATE 0x08000 /* Populate (prefault) pagetables. */ # define MAP_NONBLOCK 0x10000 /* Do not block on IO. */ +# define MAP_STACK 0x20000 /* Allocation is for a stack. */ #endif /* Flags to `msync'. */ diff --git a/sysdeps/unix/sysv/linux/x86_64/bits/mman.h b/sysdeps/unix/sysv/linux/x86_64/bits/mman.h index 535c9edcf9..7810682536 100644 --- a/sysdeps/unix/sysv/linux/x86_64/bits/mman.h +++ b/sysdeps/unix/sysv/linux/x86_64/bits/mman.h @@ -64,6 +64,7 @@ # define MAP_NORESERVE 0x04000 /* Don't check for reservations. */ # define MAP_POPULATE 0x08000 /* Populate (prefault) pagetables. */ # define MAP_NONBLOCK 0x10000 /* Do not block on IO. */ +# define MAP_STACK 0x20000 /* Allocation is for a stack. */ #endif /* Flags to `msync'. */ -- cgit 1.4.1