mirror of
git://git.musl-libc.org/musl
synced 2025-03-06 20:48:29 +01:00
sys/mman.h: add MAP_HUGE_16KB from linux v5.10
see linux commit e47168f3d1b14af5281cf50c59561d59d28201f9 powerpc/8xx: Support 16k hugepages with 4k pages
This commit is contained in:
parent
a7456524d7
commit
d7210f0c12
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue