Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | /* |
2 | * include/asm-s390/mman.h | |
3 | * | |
4 | * S390 version | |
5 | * | |
6 | * Derived from "include/asm-i386/mman.h" | |
7 | */ | |
8 | ||
9 | #ifndef __S390_MMAN_H__ | |
10 | #define __S390_MMAN_H__ | |
11 | ||
6e17b17f | 12 | #include <asm-generic/mman.h> |
1da177e4 | 13 | |
1632b9e2 DH |
14 | #if defined(__KERNEL__) |
15 | #if !defined(__ASSEMBLY__) && defined(CONFIG_64BIT) | |
0fb1d9bc MS |
16 | int s390_mmap_check(unsigned long addr, unsigned long len); |
17 | #define arch_mmap_check(addr,len,flags) s390_mmap_check(addr,len) | |
18 | #endif | |
1632b9e2 | 19 | #endif |
0fb1d9bc | 20 | |
1da177e4 | 21 | #endif /* __S390_MMAN_H__ */ |