summaryrefslogtreecommitdiff
path: root/arch/arm/include/uapi/asm/mman.h
blob: 41f99c573b93c918843ccbcd50ea2640bcb5e3ac (plain) (blame)
1
2
3
4
#include <asm-generic/mman.h>

#define arch_mmap_check(addr, len, flags) \
	(((flags) & MAP_FIXED && (addr) < FIRST_USER_ADDRESS) ? -EINVAL : 0)