mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-29 22:06:39 +07:00
564b3bffc6
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
7 lines
204 B
C
7 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)
|