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 well.

This fixes build on mips/musl/linux

Signed-off-by: Khem Raj<raj.k...@gmail.com>
Cc: Zhang Yi<yi.z.zh...@linux.intel.com>
Cc: Michael S. Tsirkin<m...@redhat.com>
---
v2: Improve commit message

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>

r~

Reply via email to