Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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/

+1
+1
arch/mips/include/asm/mman.h
··· 75 75 76 76 #define MADV_MERGEABLE 12 /* KSM may merge identical pages */ 77 77 #define MADV_UNMERGEABLE 13 /* KSM may not merge identical pages */ 78 + #define MADV_HWPOISON 100 /* poison a page for testing */ 78 79 79 80 /* compatibility flags */ 80 81 #define MAP_FILE 0