projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c677189
)
MIPS: Add missing definition for MADV_HWPOISON.
author
Ralf Baechle
<ralf@linux-mips.org>
Thu, 26 Nov 2009 18:28:42 +0000
(18:28 +0000)
committer
Ralf 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
patch
|
blob
|
history
diff --git
a/arch/mips/include/asm/mman.h
b/arch/mips/include/asm/mman.h
index a2250f390a292626e9fde6db8ab3edee41e9ea18..c892bfb3e2c1d74eca5a902194e71b46f3e87635 100644
(file)
--- 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