diff options
author | Szabolcs Nagy <nsz@port70.net> | 2018-11-10 21:00:06 +0000 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2019-03-13 12:32:14 -0400 |
commit | db8b53f20733923ab3bb0dd71d31beb37e1e9ad3 (patch) | |
tree | d31ae429bb23e7456f04c1ab02183e62e1433a0a /include/sys/mman.h | |
parent | d66ae1aeaf29de25c4a5c48273d7f8a44c4d6b27 (diff) | |
download | musl-db8b53f20733923ab3bb0dd71d31beb37e1e9ad3.tar.gz musl-db8b53f20733923ab3bb0dd71d31beb37e1e9ad3.tar.bz2 musl-db8b53f20733923ab3bb0dd71d31beb37e1e9ad3.tar.xz musl-db8b53f20733923ab3bb0dd71d31beb37e1e9ad3.zip |
sys/mman.h: add new hugetlb mmap flags from linux v4.19
aarch64 supports 32MB and 512MB hugetlb page sizes too.
added in linux commit 20916d4636a9b3c1bf562b305f91d126771edaf9
Diffstat (limited to 'include/sys/mman.h')
-rw-r--r-- | include/sys/mman.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sys/mman.h b/include/sys/mman.h index 99d02a2e..d0761b18 100644 --- a/include/sys/mman.h +++ b/include/sys/mman.h @@ -46,7 +46,9 @@ extern "C" { #define MAP_HUGE_2MB (21 << 26) #define MAP_HUGE_8MB (23 << 26) #define MAP_HUGE_16MB (24 << 26) +#define MAP_HUGE_32MB (25 << 26) #define MAP_HUGE_256MB (28 << 26) +#define MAP_HUGE_512MB (29 << 26) #define MAP_HUGE_1GB (30 << 26) #define MAP_HUGE_2GB (31 << 26) #define MAP_HUGE_16GB (34U << 26) |