summaryrefslogtreecommitdiffstats
path: root/kernel/arch/s390/include/asm/mman.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/s390/include/asm/mman.h')
-rw-r--r--kernel/arch/s390/include/asm/mman.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/kernel/arch/s390/include/asm/mman.h b/kernel/arch/s390/include/asm/mman.h
new file mode 100644
index 000000000..b55a59e1d
--- /dev/null
+++ b/kernel/arch/s390/include/asm/mman.h
@@ -0,0 +1,15 @@
+/*
+ * S390 version
+ *
+ * Derived from "include/asm-i386/mman.h"
+ */
+#ifndef __S390_MMAN_H__
+#define __S390_MMAN_H__
+
+#include <uapi/asm/mman.h>
+
+#ifndef __ASSEMBLY__
+int s390_mmap_check(unsigned long addr, unsigned long len, unsigned long flags);
+#define arch_mmap_check(addr, len, flags) s390_mmap_check(addr, len, flags)
+#endif
+#endif /* __S390_MMAN_H__ */