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