summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2009-11-26 19:28:42 +0100
committerRalf Baechle <ralf@linux-mips.org>2009-12-01 17:21:25 +0100
commite1eb3a983befdb422e1aae299bdab573d04929f6 (patch)
treecf48af2d566d7bb46ebda7090370a931ca2f7def /arch
parentMIPS: Fix build error if __xchg() is not getting inlined. (diff)
downloadlinux-e1eb3a983befdb422e1aae299bdab573d04929f6.tar.xz
linux-e1eb3a983befdb422e1aae299bdab573d04929f6.zip
MIPS: Add missing definition for MADV_HWPOISON.
Thanks to Joseph S. Myers for reporting this. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Cc: "Joseph S. Myers" <joseph@codesourcery.com> Patchwork: http://patchwork.linux-mips.org/patch/723/
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/include/asm/mman.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/include/asm/mman.h b/arch/mips/include/asm/mman.h
index a2250f390a29..c892bfb3e2c1 100644
--- a/arch/mips/include/asm/mman.h
+++ b/arch/mips/include/asm/mman.h
@@ -75,6 +75,7 @@
#define MADV_MERGEABLE 12 /* KSM may merge identical pages */
#define MADV_UNMERGEABLE 13 /* KSM may not merge identical pages */
+#define MADV_HWPOISON 100 /* poison a page for testing */
/* compatibility flags */
#define MAP_FILE 0