diff options
author | Szabolcs Nagy <nsz@port70.net> | 2018-02-02 20:10:09 +0000 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2018-02-22 18:48:58 -0500 |
commit | 9b57db3f958d9adc3b1c7371b5c6723aaee448b7 (patch) | |
tree | 98d5108c1ec3a7acca28d240d0a58ed9003fa084 /arch/mipsn32/bits | |
parent | 9eda4dc69c33852c97c6f69176bf45ffc80b522f (diff) | |
download | musl-9b57db3f958d9adc3b1c7371b5c6723aaee448b7.zip musl-9b57db3f958d9adc3b1c7371b5c6723aaee448b7.tar.gz musl-9b57db3f958d9adc3b1c7371b5c6723aaee448b7.tar.bz2 |
add MAP_SYNC and MAP_SHARED_VALIDATE from linux v4.15
for synchronous page faults, new in linux commit
1c9725974074a047f6080eecc62c50a8e840d050 and
b6fb293f2497a9841d94f6b57bd2bb2cd222da43
note that only targets that use asm-generic/mman.h have this new
flag defined, so undef it on other targets (mips*, powerpc*).
Diffstat (limited to 'arch/mipsn32/bits')
-rw-r--r-- | arch/mipsn32/bits/mman.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mipsn32/bits/mman.h b/arch/mipsn32/bits/mman.h index c68aea8..9027bb6 100644 --- a/arch/mipsn32/bits/mman.h +++ b/arch/mipsn32/bits/mman.h @@ -18,6 +18,7 @@ #define MAP_STACK 0x40000 #undef MAP_HUGETLB #define MAP_HUGETLB 0x80000 +#undef MAP_SYNC #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) #undef MADV_SOFT_OFFLINE |