x86: default corruption check to off, but put parameter default in Kconfig
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / arch / x86 / Kconfig
index cbee4199689ce4e94c4418216aca57f7290d682e..7820d447bb8d31f71c40b1347ca94d8cf2a9649f 100644 (file)
@@ -1061,7 +1061,6 @@ config HIGHPTE
 
 config X86_CHECK_BIOS_CORRUPTION
         bool "Check for low memory corruption"
-       default y
        help
         Periodically check for memory corruption in low memory, which
         is suspected to be caused by BIOS.  Even when enabled in the
@@ -1082,6 +1081,14 @@ config X86_CHECK_BIOS_CORRUPTION
         you can use memmap= to prevent the kernel from using that
         memory.
 
+config X86_BOOTPARAM_MEMORY_CORRUPTION_CHECK
+        bool "Set the default setting of memory_corruption_check"
+       depends on X86_CHECK_BIOS_CORRUPTION
+       default y
+       help
+        Set whether the default state of memory_corruption_check is
+        on or off.
+
 config MATH_EMULATION
        bool
        prompt "Math emulation" if X86_32