aboutsummaryrefslogtreecommitdiff
path: root/arch/mips/include/asm/mman.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2009-12-01 08:26:44 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2009-12-01 08:26:44 -0800
commit0d9ccfe1b5321b8d27117817b9ae4d3288c8b015 (patch)
tree0fb1cd938d72785e7df7a29a2025771c7784e496 /arch/mips/include/asm/mman.h
parentf13a48bd798a159291ca583b95453171b88b7448 (diff)
parentf133f22dd6f413bdf71ebf7e00ce441d98ac7c87 (diff)
Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus
* 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus: MIPS: Loongson: Switch from flatmem to sparsemem MIPS: Loongson: Disallow 4kB pages MIPS: Add missing definition for MADV_HWPOISON. MIPS: Fix build error if __xchg() is not getting inlined. MIPS: IP22/IP28 Disable early printk to fix boot problems on some systems.
Diffstat (limited to 'arch/mips/include/asm/mman.h')
-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