define MAP_SYNC on powerpc/powerpc64

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.
This commit is contained in:
Samuel Holland 2020-03-14 00:31:40 -05:00 committed by Rich Felker
parent 8343334d7b
commit 3e9d3386f1
2 changed files with 0 additions and 2 deletions

View File

@ -4,7 +4,6 @@
#define MAP_NORESERVE 0x40 #define MAP_NORESERVE 0x40
#undef MAP_LOCKED #undef MAP_LOCKED
#define MAP_LOCKED 0x80 #define MAP_LOCKED 0x80
#undef MAP_SYNC
#undef MCL_CURRENT #undef MCL_CURRENT
#define MCL_CURRENT 0x2000 #define MCL_CURRENT 0x2000

View File

@ -4,7 +4,6 @@
#define MAP_NORESERVE 0x40 #define MAP_NORESERVE 0x40
#undef MAP_LOCKED #undef MAP_LOCKED
#define MAP_LOCKED 0x80 #define MAP_LOCKED 0x80
#undef MAP_SYNC
#undef MCL_CURRENT #undef MCL_CURRENT
#define MCL_CURRENT 0x2000 #define MCL_CURRENT 0x2000