summaryrefslogtreecommitdiffstats
path: root/include/asm-sparc64/mman.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-sparc64/mman.h')
-rw-r--r--include/asm-sparc64/mman.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-sparc64/mman.h b/include/asm-sparc64/mman.h
index cb4b6156194..d705ec92da8 100644
--- a/include/asm-sparc64/mman.h
+++ b/include/asm-sparc64/mman.h
@@ -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