xref: /linux/arch/arm/include/uapi/asm/mman.h (revision ca55b2fef3a9373fcfc30f82fd26bc7fccbda732)
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