xref: /openbmc/qemu/linux-headers/asm-arm/mman.h (revision 8cf108c5)
1*8cf108c5SZhang Yi #include <asm-generic/mman.h>
2*8cf108c5SZhang Yi 
3*8cf108c5SZhang Yi #define arch_mmap_check(addr, len, flags) \
4*8cf108c5SZhang Yi 	(((flags) & MAP_FIXED && (addr) < FIRST_USER_ADDRESS) ? -EINVAL : 0)
5