Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
kernel
/
msm-4.9
/
1ed10aa8e9e55e7f7b3374e532f453c4d0f5fe8a
/
.
/
arch
/
mn10300
/
include
/
asm
/
mman.h
blob: db5c53da73ced573d66176a58d8e7b73580b5ae2 [
file
] [
log
] [
blame
]
#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
)