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

2022-03-22 Thread Richard Henderson
On 3/22/22 08:46, Khem Raj wrote: linux only wires MAP_SYNC for architectures which include asm-generic/mman-common.h and mips is one such architecture which is not including this file via linux/mman.h, therefore as a fall back these constants should be defined for such architectures on Linux as

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

2022-03-22 Thread Michael S. Tsirkin
On Tue, Mar 22, 2022 at 08:46:58AM -0700, Khem Raj wrote: > linux only wires MAP_SYNC for architectures which include > asm-generic/mman-common.h and mips is one such architecture which is not > including this file via linux/mman.h, therefore as a fall back > these constants should be defined for

[PATCH v2] Define MAP_SYNC and MAP_SHARED_VALIDATE on needed linux systems

2022-03-22 Thread Khem Raj
linux only wires MAP_SYNC for architectures which include asm-generic/mman-common.h and mips is one such architecture which is not including this file via linux/mman.h, therefore as a fall back these constants should be defined for such architectures on Linux as well. This fixes build on