aboutsummaryrefslogtreecommitdiff
path: root/arch/sh/include/asm/mman.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-06-14 23:26:48 +0900
committerPaul Mundt <lethal@linux-sh.org>2009-06-14 23:26:48 +0900
commit7fb8156d50c7bf3eb183c308cc63be827c6944a9 (patch)
tree72432e553d7493b4e0fea02f82b6961143935f1a /arch/sh/include/asm/mman.h
parentbdc90d461d576505114168c4b8237a3f6789ecba (diff)
sh: Switch to asm-generic versions for identical headers.
This switches over mman/param/parport/serial/socket/ucontext.h. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/asm/mman.h')
-rw-r--r--arch/sh/include/asm/mman.h18
1 files changed, 1 insertions, 17 deletions
diff --git a/arch/sh/include/asm/mman.h b/arch/sh/include/asm/mman.h
index 7d8b72c91a5..8eebf89f5ab 100644
--- a/arch/sh/include/asm/mman.h
+++ b/arch/sh/include/asm/mman.h
@@ -1,17 +1 @@
-#ifndef __ASM_SH_MMAN_H
-#define __ASM_SH_MMAN_H
-
-#include <asm-generic/mman-common.h>
-
-#define MAP_GROWSDOWN 0x0100 /* stack-like segment */
-#define MAP_DENYWRITE 0x0800 /* ETXTBSY */
-#define MAP_EXECUTABLE 0x1000 /* mark it as an executable */
-#define MAP_LOCKED 0x2000 /* pages are locked */
-#define MAP_NORESERVE 0x4000 /* don't check for reservations */
-#define MAP_POPULATE 0x8000 /* populate (prefault) page tables */
-#define MAP_NONBLOCK 0x10000 /* do not block on IO */
-
-#define MCL_CURRENT 1 /* lock all current mappings */
-#define MCL_FUTURE 2 /* lock all future mappings */
-
-#endif /* __ASM_SH_MMAN_H */
+#include <asm-generic/mman.h>