Skip to content

Commit

Permalink
MIPS: Add missing definition for MADV_HWPOISON.
Browse files Browse the repository at this point in the history
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/
  • Loading branch information
Ralf Baechle committed Dec 1, 2009
1 parent c677189 commit e1eb3a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/mips/include/asm/mman.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e1eb3a9

Please sign in to comment.