xref: /openbmc/linux/arch/arm/include/uapi/asm/mman.h (revision 6d99a79c)
1 #include <asm-generic/mman.h>
2 
3 #define arch_mmap_check(addr, len, flags) \
4 	(((flags) & MAP_FIXED && (addr) < FIRST_USER_ADDRESS) ? -EINVAL : 0)
5