[PATCH] [13/15] HWPOISON: FOR TESTING: Enable memory failure code unconditionally
From: Andi Kleen
Date:  Tue Aug 04 2009 - 17:53:59 EST
Normally the memory-failure.c code is enabled by the architecture, but
for easier testing independent of architecture changes enable it unconditionally.
This should not be merged into mainline.
Signed-off-by: Andi Kleen <ak@xxxxxxxxxxxxxxx>
---
 mm/Kconfig |    2 ++
 1 file changed, 2 insertions(+)
Index: linux/mm/Kconfig
===================================================================
--- linux.orig/mm/Kconfig
+++ linux/mm/Kconfig
@@ -235,6 +235,8 @@ config DEFAULT_MMAP_MIN_ADDR
 
 config MEMORY_FAILURE
 	bool
+	default y
+	depends on MMU
 
 config NOMMU_INITIAL_TRIM_EXCESS
 	int "Turn on mmap() excess space trimming before booting"
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/