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