lineage_kernel_xcoverpro/arch/mn10300/include/uapi/asm/mman.h

8 lines
267 B
C
Raw Normal View History

2023-06-18 22:53:49 +00:00
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
#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)