Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 | |
Arnd Bergmann | 6e17b17 | 2009-09-21 17:03:48 -0700 | [diff] [blame] | 12 | #include <asm-generic/mman.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 13 | |
David Howells | 1632b9e | 2011-12-13 15:07:49 +0000 | [diff] [blame] | 14 | #if defined(__KERNEL__) |
| 15 | #if !defined(__ASSEMBLY__) && defined(CONFIG_64BIT) |
Martin Schwidefsky | 0fb1d9b | 2009-03-18 13:27:37 +0100 | [diff] [blame] | 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 |
David Howells | 1632b9e | 2011-12-13 15:07:49 +0000 | [diff] [blame] | 19 | #endif |
Martin Schwidefsky | 0fb1d9b | 2009-03-18 13:27:37 +0100 | [diff] [blame] | 20 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 21 | #endif /* __S390_MMAN_H__ */ |