about summary refs log tree commit diff
path: root/arch/powerpc/bits/mman.h
Commit message (Collapse)AuthorAgeFilesLines
* define MAP_SYNC on powerpc/powerpc64Samuel Holland2020-03-141-1/+0
| | | | | | Linux defines MAP_SYNC on powerpc and powerpc64 as of commit 22fcea6f85f2 ("mm: move MAP_SYNC to asm-generic/mman-common.h"), so we can stop undefining it on those architectures.
* add MAP_SYNC and MAP_SHARED_VALIDATE from linux v4.15Szabolcs Nagy2018-02-221-0/+1
| | | | | | | | 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*).
* powerpc{64}: fix MAP_NORESERVE and MAP_LOCKED in mman.hSzabolcs Nagy2017-09-111-1/+6
| | | | MAP_{NORESERVE,LOCKED} have different values on powerpc than in generic.
* deduplicate bits/mman.hSzabolcs Nagy2016-03-181-55/+3
| | | | | | | | | | | currently five targets use the same mman.h constants and the rest share most constants too, so move them to sys/mman.h before the bits/mman.h include where the differences can be corrected by redefinition of the macros. this fixes two minor bugs: POSIX_MADV_DONTNEED was wrong on most targets (it should be the same as MADV_DONTNEED), and sh defined the x86-only MAP_32BIT mmap flag.
* add MCL_ONFAULT and MLOCK_ONFAULT mlockall and mlock2 flagsSzabolcs Nagy2016-01-261-0/+1
| | | | | | | | they lock faulted pages into memory (useful when a small part of a large mapped file needs efficient access), new in linux v4.4, commit b0f205c2a3082dd9081f9a94e50658c5fa906ff1 MLOCK_* is not in the POSIX reserved namespace for sys/mman.h
* add missing powerpc specific PROT_SAO memory protection flagSzabolcs Nagy2016-01-241-0/+1
| | | | | this flag for strong access ordering was added in linux v2.6.27 commit aba46c5027cb59d98052231b36efcbbde9c77a1d
* fix powerpc MCL_* mlockall flags in bits/mman.hSzabolcs Nagy2016-01-241-2/+2
| | | | the definitions didn't match the linux uapi headers.
* move MREMAP_MAYMOVE and MREMAP_FIXED out of bitsTrutz Behn2015-01-301-3/+0
| | | | | | the definitions are generic for all kernel archs. exposure of these macros now only occurs on the same feature test as for the function accepting them, which is believed to be more correct.
* add missing mmap options and madvices to bits/mman.h based on linux headersSzabolcs Nagy2013-01-121-0/+7
|
* add more arch-specific MAP_ macros to bits/mman.hrofl0r2012-12-061-0/+4
| | | | these are also needed by qemu.
* remove MAP_32 from non-x86 archsrofl0r2012-12-061-1/+0
| | | | both kernel and glibc define it only on x86(_64).
* add MAP_NORESERVE to bits/mman.hrofl0r2012-12-061-0/+1
| | | | | this is needed for qemu, and since it differs for each arch it can't be circumvented easily by using a macro in CFLAGS.
* fix powerpc types to match abi, and some feature test issuesRich Felker2012-11-211-1/+1
|
* PPC port cleaned up, static linking works well now.rofl0r2012-11-131-0/+50