[S390] kernel: Add z/VM LGR detection
[linux/fpc-iii.git] / arch / mn10300 / include / asm / mman.h
blobdb5c53da73ced573d66176a58d8e7b73580b5ae2
1 #include <asm-generic/mman.h>
3 #define MIN_MAP_ADDR PAGE_SIZE /* minimum fixed mmap address */
5 #define arch_mmap_check(addr, len, flags) \
6 (((flags) & MAP_FIXED && (addr) < MIN_MAP_ADDR) ? -EINVAL : 0)