asm-generic: rename termios.h, signal.h and mman.h
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / arch / s390 / include / asm / mman.h
blobf63fe7b431ed4ee8a967305cb129b6b0ad8b0314
1 /*
2 * include/asm-s390/mman.h
4 * S390 version
6 * Derived from "include/asm-i386/mman.h"
7 */
9 #ifndef __S390_MMAN_H__
10 #define __S390_MMAN_H__
12 #include <asm-generic/mman-common.h>
14 #define MAP_GROWSDOWN 0x0100 /* stack-like segment */
15 #define MAP_DENYWRITE 0x0800 /* ETXTBSY */
16 #define MAP_EXECUTABLE 0x1000 /* mark it as an executable */
17 #define MAP_LOCKED 0x2000 /* pages are locked */
18 #define MAP_NORESERVE 0x4000 /* don't check for reservations */
19 #define MAP_POPULATE 0x8000 /* populate (prefault) pagetables */
20 #define MAP_NONBLOCK 0x10000 /* do not block on IO */
22 #define MCL_CURRENT 1 /* lock all current mappings */
23 #define MCL_FUTURE 2 /* lock all future mappings */
25 #if defined(__KERNEL__) && !defined(__ASSEMBLY__) && defined(CONFIG_64BIT)
26 int s390_mmap_check(unsigned long addr, unsigned long len);
27 #define arch_mmap_check(addr,len,flags) s390_mmap_check(addr,len)
28 #endif
30 #endif /* __S390_MMAN_H__ */