blob: 4e9c8ae0a6375211d10119c8be241ac1543c68d0 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
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 Bergmann6e17b172009-09-21 17:03:48 -070012#include <asm-generic/mman.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -070013
Martin Schwidefsky0fb1d9b2009-03-18 13:27:37 +010014#if defined(__KERNEL__) && !defined(__ASSEMBLY__) && defined(CONFIG_64BIT)
15int s390_mmap_check(unsigned long addr, unsigned long len);
16#define arch_mmap_check(addr,len,flags) s390_mmap_check(addr,len)
17#endif
18
Linus Torvalds1da177e2005-04-16 15:20:36 -070019#endif /* __S390_MMAN_H__ */