aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2013-03-06 16:39:56 +0100
committerAndreas Jaeger <aj@suse.de>2013-03-06 16:39:56 +0100
commit8e39047d31421857f7c8a95816e8eb785199ccb3 (patch)
tree48aee7e54e349dc03ff77264807d07273b847c8a
parent67525cb83217602994d2b75c4a07c9d92705079f (diff)
downloadglibc-8e39047d31421857f7c8a95816e8eb785199ccb3.zip
glibc-8e39047d31421857f7c8a95816e8eb785199ccb3.tar.gz
glibc-8e39047d31421857f7c8a95816e8eb785199ccb3.tar.bz2
Remove MAP_GROWSUP on s390
* sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove, it's not part of Linux headers.
-rw-r--r--ChangeLog3
-rw-r--r--sysdeps/unix/sysv/linux/s390/bits/mman.h2
2 files changed, 3 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 4d018e8..526a5e5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2013-03-06 Andreas Jaeger <aj@suse.de>
+ * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
+ it's not part of Linux headers.
+
* sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
(MAP_HUGE_MASK): Define.
diff --git a/sysdeps/unix/sysv/linux/s390/bits/mman.h b/sysdeps/unix/sysv/linux/s390/bits/mman.h
index 3a65ba1..b788fa5 100644
--- a/sysdeps/unix/sysv/linux/s390/bits/mman.h
+++ b/sysdeps/unix/sysv/linux/s390/bits/mman.h
@@ -27,8 +27,6 @@
/* These are Linux-specific. */
#ifdef __USE_MISC
# define MAP_GROWSDOWN 0x00100 /* Stack-like segment. */
-// XXX? Not defined in Linux kernel 3.8
-# define MAP_GROWSUP 0x00200 /* Register stack-like segment */
# define MAP_DENYWRITE 0x00800 /* ETXTBSY */
# define MAP_EXECUTABLE 0x01000 /* Mark it as an executable. */
# define MAP_LOCKED 0x02000 /* Lock the mapping. */