[source] x86: disable crashlog

LEDE Commits lede-commits at lists.infradead.org
Fri Jan 13 06:15:52 PST 2017


nbd pushed a commit to source.git, branch master:
https://git.lede-project.org/749918911d35613f8bf7852d2a91f78ff625739e

commit 749918911d35613f8bf7852d2a91f78ff625739e
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Fri Jan 13 14:48:25 2017 +0100

    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 <nbd at nbd.name>
---
 config/Config-kernel.in     | 2 +-
 target/linux/x86/config-4.4 | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/config/Config-kernel.in b/config/Config-kernel.in
index 3f30013..a4c46f5 100644
--- a/config/Config-kernel.in
+++ b/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
diff --git a/target/linux/x86/config-4.4 b/target/linux/x86/config-4.4
index e2236b2..29d19da 100644
--- a/target/linux/x86/config-4.4
+++ b/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



More information about the lede-commits mailing list