Skip to contentSkip to conversation

2.5.48 s390 (3/16): mman.

PATCH New Martin Schwidefsky 1 participant 1 message Nov 18, 2002

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 2.5.48 s390 (3/16): mman.

include/asm-s390/mman.h +2 -0
diff -urN linux-2.5.48/include/asm-s390/mman.h linux-2.5.48-s390/include/asm-s390/mman.h
@@ -26,6 +26,8 @@
 #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) pagetables */
+#define MAP_NONBLOCK	0x10000		/* do not block on IO */
 
 #define MS_ASYNC	1		/* sync memory asynchronously */
 #define MS_INVALIDATE	2		/* invalidate the caches */
include/asm-s390x/mman.h +2 -0
diff -urN linux-2.5.48/include/asm-s390x/mman.h linux-2.5.48-s390/include/asm-s390x/mman.h
@@ -26,6 +26,8 @@
 #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) pagetables */
+#define MAP_NONBLOCK	0x10000		/* do not block on IO */
 
 #define MS_ASYNC	1		/* sync memory asynchronously */
 #define MS_INVALIDATE	2		/* invalidate the caches */