aboutsummaryrefslogtreecommitdiff
path: root/arch/mips
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2009-11-26 18:28:42 +0000
committerRalf Baechle <ralf@linux-mips.org>2009-12-01 16:21:25 +0000
commite1eb3a983befdb422e1aae299bdab573d04929f6 (patch)
treecf48af2d566d7bb46ebda7090370a931ca2f7def /arch/mips
parentc677189af9faa3f26fae0fcb7ac59f477048b89a (diff)
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/mips')
-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 a2250f390a2..c892bfb3e2c 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