summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/mman.h
blob: 41f99c573b93c918843ccbcd50ea2640bcb5e3ac (plain)
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)
OpenPOWER on IntegriCloud