tegrakernel/kernel/kernel-4.9/arch/mn10300/include/uapi/asm/mman.h

7 lines
204 B
C
Raw Normal View History

2022-02-16 09:13:02 -06:00
#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)