Re: [PATCH] Define MAP_SYNC and MAP_SHARED_VALIDATE on needed linux systems

2022-03-22 Thread Michael S. Tsirkin
On Tue, Mar 22, 2022 at 07:05:05AM -0700, Richard Henderson wrote: > On 3/21/22 10:20, Khem Raj wrote: > > linux only wires MAP_SYNC and MAP_SHARED_VALIDATE for architectures > > which include asm-generic/mman.h and mips/powerpc are not including this > > file in linux/mman.h, therefore these

Re: [PATCH] Define MAP_SYNC and MAP_SHARED_VALIDATE on needed linux systems

2022-03-22 Thread Richard Henderson
On 3/21/22 10:20, Khem Raj wrote: linux only wires MAP_SYNC and MAP_SHARED_VALIDATE for architectures which include asm-generic/mman.h and mips/powerpc are not including this file in linux/mman.h, therefore these should be defined for such architectures on Linux as well. This is not precisely

[PATCH] Define MAP_SYNC and MAP_SHARED_VALIDATE on needed linux systems

2022-03-21 Thread Khem Raj
linux only wires MAP_SYNC and MAP_SHARED_VALIDATE for architectures which include asm-generic/mman.h and mips/powerpc are not including this file in linux/mman.h, therefore these should be defined for such architectures on Linux as well. This fixes build on mips/musl/linux Signed-off-by: Khem Raj

[PATCH] Define MAP_SYNC and MAP_SHARED_VALIDATE on needed linux systems

2022-03-21 Thread Khem Raj
linux only wires MAP_SYNC and MAP_SHARED_VALIDATE for architectures which include asm-generic/mman.h and mips/powerpc are not including this file in linux/mman.h, therefore these should be defined for such architectures on Linux as well. This fixes build on mips/musl/linux Signed-off-by: Khem Raj