]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-parisc/mman.h
[PATCH] madvise MADV_DONTFORK/MADV_DOFORK
[linux-2.6-omap-h63xx.git] / include / asm-parisc / mman.h
index 736b0abcac052b1ad468ff0362bfe8e3173c531a..a381cf5c8f555c9429e1177d4bc983fc42dc9107 100644 (file)
@@ -49,6 +49,8 @@
 #define MADV_4M_PAGES   22              /* Use 4 Megabyte pages */
 #define MADV_16M_PAGES  24              /* Use 16 Megabyte pages */
 #define MADV_64M_PAGES  26              /* Use 64 Megabyte pages */
+#define MADV_DONTFORK  0x30            /* dont inherit across fork */
+#define MADV_DOFORK    0x31            /* do inherit across fork */
 
 /* compatibility flags */
 #define MAP_ANON       MAP_ANONYMOUS