android_kernel_samsung_hero.../arch/mn10300/include/uapi/asm/mman.h
2016-08-17 16:41:52 +08:00

6 lines
204 B
C

#include <asm-generic/mman.h>
#define MIN_MAP_ADDR PAGE_SIZE /* minimum fixed mmap address */
#define arch_mmap_check(addr, len, flags) \
(((flags) & MAP_FIXED && (addr) < MIN_MAP_ADDR) ? -EINVAL : 0)