]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-sparc/mman.h
[PATCH] madvise MADV_DONTFORK/MADV_DOFORK
[linux-2.6-omap-h63xx.git] / include / asm-sparc / mman.h
index 98435ad8619e0b0b5f5cd9aa882de51d6ea89948..4a298b2be8591d253a293824ac67afa78b2f848b 100644 (file)
@@ -55,6 +55,8 @@
 #define MADV_DONTNEED  0x4             /* discard these pages */
 #define MADV_FREE      0x5             /* (Solaris) contents can be freed */
 #define MADV_REMOVE    0x6             /* remove these pages & resources */
+#define MADV_DONTFORK  0x30            /* dont inherit across fork */
+#define MADV_DOFORK    0x31            /* do inherit across fork */
 
 /* compatibility flags */
 #define MAP_ANON       MAP_ANONYMOUS