patch-pre2.0.8 linux/include/asm-ppc/mman.h
Next file: linux/include/asm-ppc/mmu.h
Previous file: linux/include/asm-ppc/mc146818rtc.h
Back to the patch index
Back to the overall index
- Lines: 21
- Date:
Mon May 27 12:00:59 1996
- Orig file:
pre2.0.7/linux/include/asm-ppc/mman.h
- Orig date:
Sat Nov 25 19:49:06 1995
diff -u --recursive --new-file pre2.0.7/linux/include/asm-ppc/mman.h linux/include/asm-ppc/mman.h
@@ -11,6 +11,7 @@
#define MAP_TYPE 0x0f /* Mask for type of mapping */
#define MAP_FIXED 0x10 /* Interpret addr exactly */
#define MAP_ANONYMOUS 0x20 /* don't use a file */
+#define MAP_RENAME MAP_ANONYMOUS /* In SunOS terminology */
#define MAP_GROWSDOWN 0x0100 /* stack-like segment */
#define MAP_DENYWRITE 0x0800 /* ETXTBSY */
@@ -20,4 +21,11 @@
#define MS_INVALIDATE 2 /* invalidate the caches */
#define MS_SYNC 4 /* synchronous memory sync */
-#endif /* __I386_MMAN_H__ */
+#define MCL_CURRENT 0x2000 /* lock all currently mapped pages */
+#define MCL_FUTURE 0x4000 /* lock all additions to address space */
+
+/* compatibility flags */
+#define MAP_ANON MAP_ANONYMOUS
+#define MAP_FILE 0
+
+#endif /* __PPC_MMAN_H__ */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this