diff options
author | Szabolcs Nagy <nsz@port70.net> | 2017-09-10 13:34:54 +0200 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2017-09-11 14:06:27 -0400 |
commit | c10bc61508dc52b8315084e628f36a6c3c2dabb1 (patch) | |
tree | e3be6dd427eaad55f24cef72102a0ede344dbc43 /arch/powerpc64/bits/mman.h | |
parent | da438ee1fc516c41ba1790cef7be551a9e244397 (diff) | |
download | musl-c10bc61508dc52b8315084e628f36a6c3c2dabb1.tar.gz musl-c10bc61508dc52b8315084e628f36a6c3c2dabb1.tar.bz2 musl-c10bc61508dc52b8315084e628f36a6c3c2dabb1.tar.xz musl-c10bc61508dc52b8315084e628f36a6c3c2dabb1.zip |
powerpc{64}: fix MAP_NORESERVE and MAP_LOCKED in mman.h
MAP_{NORESERVE,LOCKED} have different values on powerpc than in generic.
Diffstat (limited to 'arch/powerpc64/bits/mman.h')
-rw-r--r-- | arch/powerpc64/bits/mman.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc64/bits/mman.h b/arch/powerpc64/bits/mman.h index f5974f82..95ec4358 100644 --- a/arch/powerpc64/bits/mman.h +++ b/arch/powerpc64/bits/mman.h @@ -1,5 +1,10 @@ #define PROT_SAO 0x10 +#undef MAP_NORESERVE +#define MAP_NORESERVE 0x40 +#undef MAP_LOCKED +#define MAP_LOCKED 0x80 + #undef MCL_CURRENT #define MCL_CURRENT 0x2000 #undef MCL_FUTURE |