about summary refs log tree commit diff
path: root/ports/sysdeps/unix/sysv/linux/alpha
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2013-03-06 16:35:19 +0100
committerAndreas Jaeger <aj@suse.de>2013-03-06 16:35:19 +0100
commit67525cb83217602994d2b75c4a07c9d92705079f (patch)
treedafb888df124aadc9bca3634f75ca5b2cf38ca35 /ports/sysdeps/unix/sysv/linux/alpha
parent5c56e933683b20ce48512ca1c17c3d7a967998fb (diff)
downloadglibc-67525cb83217602994d2b75c4a07c9d92705079f.tar.gz
glibc-67525cb83217602994d2b75c4a07c9d92705079f.tar.xz
glibc-67525cb83217602994d2b75c4a07c9d92705079f.zip
Sync with Linux 3.8
Diffstat (limited to 'ports/sysdeps/unix/sysv/linux/alpha')
-rw-r--r--ports/sysdeps/unix/sysv/linux/alpha/bits/mman.h3
-rw-r--r--ports/sysdeps/unix/sysv/linux/alpha/bits/msq.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/ports/sysdeps/unix/sysv/linux/alpha/bits/mman.h b/ports/sysdeps/unix/sysv/linux/alpha/bits/mman.h
index 2238c2c72b..c51b05d37f 100644
--- a/ports/sysdeps/unix/sysv/linux/alpha/bits/mman.h
+++ b/ports/sysdeps/unix/sysv/linux/alpha/bits/mman.h
@@ -51,6 +51,9 @@
 # define MAP_FILE	  0
 # define MAP_ANONYMOUS	  0x10		/* Don't use a file.  */
 # define MAP_ANON	  MAP_ANONYMOUS
+/* When MAP_HUGETLB is set bits [26:31] encode the log2 of the huge page size.  */
+# define MAP_HUGE_SHIFT	  26
+# define MAP_HUGE_MASK	  0x3f
 #endif
 
 /* Not used by Linux, but here to make sure we don't clash with
diff --git a/ports/sysdeps/unix/sysv/linux/alpha/bits/msq.h b/ports/sysdeps/unix/sysv/linux/alpha/bits/msq.h
index 1b07465d45..8bb057b4ee 100644
--- a/ports/sysdeps/unix/sysv/linux/alpha/bits/msq.h
+++ b/ports/sysdeps/unix/sysv/linux/alpha/bits/msq.h
@@ -25,6 +25,7 @@
 #define MSG_NOERROR	010000	/* no error if message is too big */
 #ifdef __USE_GNU
 # define MSG_EXCEPT	020000	/* recv any msg except of specified type */
+# define MSG_COPY	040000	/* copy (not remove) all queue messages */
 #endif
 
 /* Types used in the structure definition.  */