summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhang Yanfei <zhangyanfei@cn.fujitsu.com>2014-04-08 00:37:56 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2014-04-08 01:35:58 +0200
commit85892f196fd8fb22386436f86f2b74104d7005f8 (patch)
treeaef96061ea983ae4c00ed348765d02968234c74d
parentmm/readahead.c: inline ra_submit (diff)
downloadlinux-85892f196fd8fb22386436f86f2b74104d7005f8.tar.xz
linux-85892f196fd8fb22386436f86f2b74104d7005f8.zip
madvise: correct the comment of MADV_DODUMP flag
s/MADV_NODUMP/MADV_DONTDUMP/ Signed-off-by: Zhang Yanfei <zhangyanfei@cn.fujitsu.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--include/uapi/asm-generic/mman-common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/asm-generic/mman-common.h b/include/uapi/asm-generic/mman-common.h
index 4164529a94f9..ddc3b36f1046 100644
--- a/include/uapi/asm-generic/mman-common.h
+++ b/include/uapi/asm-generic/mman-common.h
@@ -50,7 +50,7 @@
#define MADV_DONTDUMP 16 /* Explicity exclude from the core dump,
overrides the coredump filter bits */
-#define MADV_DODUMP 17 /* Clear the MADV_NODUMP flag */
+#define MADV_DODUMP 17 /* Clear the MADV_DONTDUMP flag */
/* compatibility flags */
#define MAP_FILE 0