summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2020-03-14 00:31:40 -0500
committerRich Felker <dalias@aerifal.cx>2020-03-14 21:39:39 -0400
commit3e9d3386f17e4c2af3049cf5f802ccd5bbe083d0 (patch)
treebed46ae1c23303a3419656dc1589eac8d7bfeb76 /arch
parent8343334d7b9cd4338bdac80e17be079cbc675ec3 (diff)
downloadmusl-3e9d3386f17e4c2af3049cf5f802ccd5bbe083d0.tar.gz
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.
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/bits/mman.h1
-rw-r--r--arch/powerpc64/bits/mman.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/bits/mman.h b/arch/powerpc/bits/mman.h
index b3a675a8..95ec4358 100644
--- a/arch/powerpc/bits/mman.h
+++ b/arch/powerpc/bits/mman.h
@@ -4,7 +4,6 @@
#define MAP_NORESERVE 0x40
#undef MAP_LOCKED
#define MAP_LOCKED 0x80
-#undef MAP_SYNC
#undef MCL_CURRENT
#define MCL_CURRENT 0x2000
diff --git a/arch/powerpc64/bits/mman.h b/arch/powerpc64/bits/mman.h
index b3a675a8..95ec4358 100644
--- a/arch/powerpc64/bits/mman.h
+++ b/arch/powerpc64/bits/mman.h
@@ -4,7 +4,6 @@
#define MAP_NORESERVE 0x40
#undef MAP_LOCKED
#define MAP_LOCKED 0x80
-#undef MAP_SYNC
#undef MCL_CURRENT
#define MCL_CURRENT 0x2000