2005-04-17 00:20:36 +02:00
|
|
|
/*
|
|
|
|
* include/asm-s390/mman.h
|
|
|
|
*
|
|
|
|
* S390 version
|
|
|
|
*
|
|
|
|
* Derived from "include/asm-i386/mman.h"
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __S390_MMAN_H__
|
|
|
|
#define __S390_MMAN_H__
|
|
|
|
|
2009-09-22 02:03:48 +02:00
|
|
|
#include <asm-generic/mman.h>
|
2005-04-17 00:20:36 +02:00
|
|
|
|
2011-12-13 16:07:49 +01:00
|
|
|
#if defined(__KERNEL__)
|
|
|
|
#if !defined(__ASSEMBLY__) && defined(CONFIG_64BIT)
|
2009-03-18 13:27:37 +01:00
|
|
|
int s390_mmap_check(unsigned long addr, unsigned long len);
|
|
|
|
#define arch_mmap_check(addr,len,flags) s390_mmap_check(addr,len)
|
|
|
|
#endif
|
2011-12-13 16:07:49 +01:00
|
|
|
#endif
|
2009-03-18 13:27:37 +01:00
|
|
|
|
2005-04-17 00:20:36 +02:00
|
|
|
#endif /* __S390_MMAN_H__ */
|