mailing list of musl libc
 help / color / mirror / code / Atom feed
* [musl] [PATCH] define MAP_SYNC on powerpc/powerpc64
@ 2020-03-14  5:31 Samuel Holland
  2020-03-15  1:39 ` Rich Felker
  0 siblings, 1 reply; 2+ messages in thread
From: Samuel Holland @ 2020-03-14  5:31 UTC (permalink / raw)
  To: musl; +Cc: Samuel Holland

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 is currently breaking qemu compilation on powerpc64.

---
 arch/powerpc/bits/mman.h   | 1 -
 arch/powerpc64/bits/mman.h | 1 -
 2 files changed, 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
-- 
2.24.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [musl] [PATCH] define MAP_SYNC on powerpc/powerpc64
  2020-03-14  5:31 [musl] [PATCH] define MAP_SYNC on powerpc/powerpc64 Samuel Holland
@ 2020-03-15  1:39 ` Rich Felker
  0 siblings, 0 replies; 2+ messages in thread
From: Rich Felker @ 2020-03-15  1:39 UTC (permalink / raw)
  To: musl

On Sat, Mar 14, 2020 at 12:31:40AM -0500, Samuel Holland wrote:
> 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 is currently breaking qemu compilation on powerpc64.

Thanks, applying.

Rich

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-03-15  1:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-14  5:31 [musl] [PATCH] define MAP_SYNC on powerpc/powerpc64 Samuel Holland
2020-03-15  1:39 ` Rich Felker

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).