Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
mman.h
Go to the documentation of this file.
1 #include <asm-generic/mman.h>
2 
3 #define MIN_MAP_ADDR PAGE_SIZE /* minimum fixed mmap address */
4 
5 #define arch_mmap_check(addr, len, flags) \
6  (((flags) & MAP_FIXED && (addr) < MIN_MAP_ADDR) ? -EINVAL : 0)