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.
14 lines
271 B
C
14 lines
271 B
C
#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
|
|
#define MCL_FUTURE 0x4000
|
|
#undef MCL_ONFAULT
|
|
#define MCL_ONFAULT 0x8000
|