diff options
author | Szabolcs Nagy <nsz@port70.net> | 2020-12-19 21:02:21 +0000 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2021-02-15 09:16:06 -0500 |
commit | d7210f0c123c4de5110b80f26b8ea460b9799eeb (patch) | |
tree | 6a9d6fccd278d59aa8d89eb55d875a7e503b123d | |
parent | a7456524d7bc95db76998804c8dc4bcfbeccab22 (diff) | |
download | musl-d7210f0c123c4de5110b80f26b8ea460b9799eeb.tar.gz musl-d7210f0c123c4de5110b80f26b8ea460b9799eeb.tar.bz2 musl-d7210f0c123c4de5110b80f26b8ea460b9799eeb.tar.xz musl-d7210f0c123c4de5110b80f26b8ea460b9799eeb.zip |
sys/mman.h: add MAP_HUGE_16KB from linux v5.10
see
linux commit e47168f3d1b14af5281cf50c59561d59d28201f9
powerpc/8xx: Support 16k hugepages with 4k pages
-rw-r--r-- | include/sys/mman.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sys/mman.h b/include/sys/mman.h index 4d603e91..80a3baae 100644 --- a/include/sys/mman.h +++ b/include/sys/mman.h @@ -40,6 +40,7 @@ extern "C" { #define MAP_HUGE_SHIFT 26 #define MAP_HUGE_MASK 0x3f +#define MAP_HUGE_16KB (14 << 26) #define MAP_HUGE_64KB (16 << 26) #define MAP_HUGE_512KB (19 << 26) #define MAP_HUGE_1MB (20 << 26) |