diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/alpha/include/asm/mman.h | 3 | ||||
-rw-r--r-- | arch/mips/include/asm/mman.h | 3 | ||||
-rw-r--r-- | arch/parisc/include/asm/mman.h | 3 | ||||
-rw-r--r-- | arch/xtensa/include/asm/mman.h | 3 |
4 files changed, 12 insertions, 0 deletions
diff --git a/arch/alpha/include/asm/mman.h b/arch/alpha/include/asm/mman.h index 90d7c35d2867..c77c55756a7c 100644 --- a/arch/alpha/include/asm/mman.h +++ b/arch/alpha/include/asm/mman.h | |||
@@ -48,6 +48,9 @@ | |||
48 | #define MADV_DONTFORK 10 /* don't inherit across fork */ | 48 | #define MADV_DONTFORK 10 /* don't inherit across fork */ |
49 | #define MADV_DOFORK 11 /* do inherit across fork */ | 49 | #define MADV_DOFORK 11 /* do inherit across fork */ |
50 | 50 | ||
51 | #define MADV_MERGEABLE 12 /* KSM may merge identical pages */ | ||
52 | #define MADV_UNMERGEABLE 13 /* KSM may not merge identical pages */ | ||
53 | |||
51 | /* compatibility flags */ | 54 | /* compatibility flags */ |
52 | #define MAP_FILE 0 | 55 | #define MAP_FILE 0 |
53 | 56 | ||
diff --git a/arch/mips/include/asm/mman.h b/arch/mips/include/asm/mman.h index e4d6f1fb1cf7..f15554d1518a 100644 --- a/arch/mips/include/asm/mman.h +++ b/arch/mips/include/asm/mman.h | |||
@@ -71,6 +71,9 @@ | |||
71 | #define MADV_DONTFORK 10 /* don't inherit across fork */ | 71 | #define MADV_DONTFORK 10 /* don't inherit across fork */ |
72 | #define MADV_DOFORK 11 /* do inherit across fork */ | 72 | #define MADV_DOFORK 11 /* do inherit across fork */ |
73 | 73 | ||
74 | #define MADV_MERGEABLE 12 /* KSM may merge identical pages */ | ||
75 | #define MADV_UNMERGEABLE 13 /* KSM may not merge identical pages */ | ||
76 | |||
74 | /* compatibility flags */ | 77 | /* compatibility flags */ |
75 | #define MAP_FILE 0 | 78 | #define MAP_FILE 0 |
76 | 79 | ||
diff --git a/arch/parisc/include/asm/mman.h b/arch/parisc/include/asm/mman.h index defe752cc996..a12d9d43f507 100644 --- a/arch/parisc/include/asm/mman.h +++ b/arch/parisc/include/asm/mman.h | |||
@@ -54,6 +54,9 @@ | |||
54 | #define MADV_16M_PAGES 24 /* Use 16 Megabyte pages */ | 54 | #define MADV_16M_PAGES 24 /* Use 16 Megabyte pages */ |
55 | #define MADV_64M_PAGES 26 /* Use 64 Megabyte pages */ | 55 | #define MADV_64M_PAGES 26 /* Use 64 Megabyte pages */ |
56 | 56 | ||
57 | #define MADV_MERGEABLE 65 /* KSM may merge identical pages */ | ||
58 | #define MADV_UNMERGEABLE 66 /* KSM may not merge identical pages */ | ||
59 | |||
57 | /* compatibility flags */ | 60 | /* compatibility flags */ |
58 | #define MAP_FILE 0 | 61 | #define MAP_FILE 0 |
59 | #define MAP_VARIABLE 0 | 62 | #define MAP_VARIABLE 0 |
diff --git a/arch/xtensa/include/asm/mman.h b/arch/xtensa/include/asm/mman.h index 9b92620c8a1e..6e55b4d1f9c5 100644 --- a/arch/xtensa/include/asm/mman.h +++ b/arch/xtensa/include/asm/mman.h | |||
@@ -78,6 +78,9 @@ | |||
78 | #define MADV_DONTFORK 10 /* don't inherit across fork */ | 78 | #define MADV_DONTFORK 10 /* don't inherit across fork */ |
79 | #define MADV_DOFORK 11 /* do inherit across fork */ | 79 | #define MADV_DOFORK 11 /* do inherit across fork */ |
80 | 80 | ||
81 | #define MADV_MERGEABLE 12 /* KSM may merge identical pages */ | ||
82 | #define MADV_UNMERGEABLE 13 /* KSM may not merge identical pages */ | ||
83 | |||
81 | /* compatibility flags */ | 84 | /* compatibility flags */ |
82 | #define MAP_FILE 0 | 85 | #define MAP_FILE 0 |
83 | 86 | ||