فهرست منبع

x86: disable crashlog

It could cause crashes with some forms of virtualization, and it is
unlikely to work properly with most systems.
It's safer to just disable it.

Signed-off-by: Felix Fietkau <[email protected]>
Felix Fietkau 8 سال پیش
والد
کامیت
749918911d
2فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 1 1
      config/Config-kernel.in
  2. 1 0
      target/linux/x86/config-4.4

+ 1 - 1
config/Config-kernel.in

@@ -26,7 +26,7 @@ config KERNEL_PRINTK
 
 config KERNEL_CRASHLOG
 	bool "Crash logging"
-	depends on !(arm || powerpc || sparc || TARGET_uml)
+	depends on !(arm || powerpc || sparc || TARGET_uml || i386 || x86_64)
 	default y
 
 config KERNEL_SWAP

+ 1 - 0
target/linux/x86/config-4.4

@@ -79,6 +79,7 @@ CONFIG_CPU_SUP_CYRIX_32=y
 CONFIG_CPU_SUP_INTEL=y
 CONFIG_CPU_SUP_TRANSMETA_32=y
 CONFIG_CPU_SUP_UMC_32=y
+# CONFIG_CRASHLOG is not set
 CONFIG_CRC16=y
 CONFIG_CRYPTO_AES_586=y
 CONFIG_CRYPTO_CRC32C=y