diff options
author | Robert P. J. Day <rpjday@mindspring.com> | 2007-02-10 04:42:56 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-11 13:51:17 -0500 |
commit | e10a4437cb37c85f2df95432025b392d98aac2aa (patch) | |
tree | f8a560ecf6e75f582c0f025385d5e350a21d9fd6 /include | |
parent | 7c5cae368a6c44eac0e817ae130301b65ff446dc (diff) |
[PATCH] Remove final references to deprecated "MAP_ANON" page protection flag
Remove the last vestiges of the long-deprecated "MAP_ANON" page protection
flag: use "MAP_ANONYMOUS" instead.
Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-alpha/mman.h | 1 | ||||
-rw-r--r-- | include/asm-generic/mman.h | 1 | ||||
-rw-r--r-- | include/asm-mips/mman.h | 1 | ||||
-rw-r--r-- | include/asm-parisc/mman.h | 1 | ||||
-rw-r--r-- | include/asm-xtensa/mman.h | 1 |
5 files changed, 0 insertions, 5 deletions
diff --git a/include/asm-alpha/mman.h b/include/asm-alpha/mman.h index 5f24c755f577..90d7c35d2867 100644 --- a/include/asm-alpha/mman.h +++ b/include/asm-alpha/mman.h | |||
@@ -49,7 +49,6 @@ | |||
49 | #define MADV_DOFORK 11 /* do inherit across fork */ | 49 | #define MADV_DOFORK 11 /* do inherit across fork */ |
50 | 50 | ||
51 | /* compatibility flags */ | 51 | /* compatibility flags */ |
52 | #define MAP_ANON MAP_ANONYMOUS | ||
53 | #define MAP_FILE 0 | 52 | #define MAP_FILE 0 |
54 | 53 | ||
55 | #endif /* __ALPHA_MMAN_H__ */ | 54 | #endif /* __ALPHA_MMAN_H__ */ |
diff --git a/include/asm-generic/mman.h b/include/asm-generic/mman.h index 3b41d2bb70da..5e3dde2ee5ad 100644 --- a/include/asm-generic/mman.h +++ b/include/asm-generic/mman.h | |||
@@ -36,7 +36,6 @@ | |||
36 | #define MADV_DOFORK 11 /* do inherit across fork */ | 36 | #define MADV_DOFORK 11 /* do inherit across fork */ |
37 | 37 | ||
38 | /* compatibility flags */ | 38 | /* compatibility flags */ |
39 | #define MAP_ANON MAP_ANONYMOUS | ||
40 | #define MAP_FILE 0 | 39 | #define MAP_FILE 0 |
41 | 40 | ||
42 | #endif | 41 | #endif |
diff --git a/include/asm-mips/mman.h b/include/asm-mips/mman.h index 046cf686bee7..e4d6f1fb1cf7 100644 --- a/include/asm-mips/mman.h +++ b/include/asm-mips/mman.h | |||
@@ -72,7 +72,6 @@ | |||
72 | #define MADV_DOFORK 11 /* do inherit across fork */ | 72 | #define MADV_DOFORK 11 /* do inherit across fork */ |
73 | 73 | ||
74 | /* compatibility flags */ | 74 | /* compatibility flags */ |
75 | #define MAP_ANON MAP_ANONYMOUS | ||
76 | #define MAP_FILE 0 | 75 | #define MAP_FILE 0 |
77 | 76 | ||
78 | #endif /* _ASM_MMAN_H */ | 77 | #endif /* _ASM_MMAN_H */ |
diff --git a/include/asm-parisc/mman.h b/include/asm-parisc/mman.h index 0ef15ee0f17e..defe752cc996 100644 --- a/include/asm-parisc/mman.h +++ b/include/asm-parisc/mman.h | |||
@@ -55,7 +55,6 @@ | |||
55 | #define MADV_64M_PAGES 26 /* Use 64 Megabyte pages */ | 55 | #define MADV_64M_PAGES 26 /* Use 64 Megabyte pages */ |
56 | 56 | ||
57 | /* compatibility flags */ | 57 | /* compatibility flags */ |
58 | #define MAP_ANON MAP_ANONYMOUS | ||
59 | #define MAP_FILE 0 | 58 | #define MAP_FILE 0 |
60 | #define MAP_VARIABLE 0 | 59 | #define MAP_VARIABLE 0 |
61 | 60 | ||
diff --git a/include/asm-xtensa/mman.h b/include/asm-xtensa/mman.h index ba394cbb4807..9b92620c8a1e 100644 --- a/include/asm-xtensa/mman.h +++ b/include/asm-xtensa/mman.h | |||
@@ -79,7 +79,6 @@ | |||
79 | #define MADV_DOFORK 11 /* do inherit across fork */ | 79 | #define MADV_DOFORK 11 /* do inherit across fork */ |
80 | 80 | ||
81 | /* compatibility flags */ | 81 | /* compatibility flags */ |
82 | #define MAP_ANON MAP_ANONYMOUS | ||
83 | #define MAP_FILE 0 | 82 | #define MAP_FILE 0 |
84 | 83 | ||
85 | #endif /* _XTENSA_MMAN_H */ | 84 | #endif /* _XTENSA_MMAN_H */ |