blob: d49760e63506dd401df1e2f81da69982ed6a468c [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
David Howells1632b9e2011-12-13 15:07:49 +000014#if defined(__KERNEL__)
15#if !defined(__ASSEMBLY__) && defined(CONFIG_64BIT)
Martin Schwidefsky0fb1d9b2009-03-18 13:27:37 +010016int 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 Howells1632b9e2011-12-13 15:07:49 +000019#endif
Martin Schwidefsky0fb1d9b2009-03-18 13:27:37 +010020
Linus Torvalds1da177e2005-04-16 15:20:36 -070021#endif /* __S390_MMAN_H__ */