aboutsummaryrefslogtreecommitdiff
path: root/include/asm-frv/mman.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-frv/mman.h')
-rw-r--r--include/asm-frv/mman.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-frv/mman.h b/include/asm-frv/mman.h
index 8af4a41c255..d3bca306da8 100644
--- a/include/asm-frv/mman.h
+++ b/include/asm-frv/mman.h
@@ -36,6 +36,8 @@
#define MADV_WILLNEED 0x3 /* pre-fault pages */
#define MADV_DONTNEED 0x4 /* discard these pages */
#define MADV_REMOVE 0x5 /* 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