Arnd Bergmann | 6e17b17 | 2009-09-21 17:03:48 -0700 | [diff] [blame] | 1 | #include <asm-generic/mman.h> |
Al Viro | 2ea1d13 | 2009-11-30 13:06:51 -0500 | [diff] [blame] | 2 | |
3 | #define arch_mmap_check(addr, len, flags) \ | ||||
4 | (((flags) & MAP_FIXED && (addr) < FIRST_USER_ADDRESS) ? -EINVAL : 0) |