]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - ports/sysdeps/unix/sysv/linux/alpha/bits/mman.h
Sync with Linux 3.8
[thirdparty/glibc.git] / ports / sysdeps / unix / sysv / linux / alpha / bits / mman.h
index 2238c2c72b8384544763ee6361872f11f8f5e917..c51b05d37ff5542731106f26e19177c273f54d66 100644 (file)
@@ -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