MIPS: Add missing definition for MADV_HWPOISON.
authorRalf Baechle <ralf@linux-mips.org>
Thu, 26 Nov 2009 18:28:42 +0000 (18:28 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 1 Dec 2009 16:21:25 +0000 (16:21 +0000)
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/

arch/mips/include/asm/mman.h

index a2250f3..c892bfb 100644 (file)
@@ -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