aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2017-01-13 14:48:25 +0100
committerFelix Fietkau <nbd@nbd.name>2017-01-13 15:15:09 +0100
commit749918911d35613f8bf7852d2a91f78ff625739e (patch)
tree3f01c8172fa0c35209d275ee350608b3c139a99c
parente38fd1eced6d2035f9f8d65eacbb69fd7d008158 (diff)
downloadupstream-749918911d35613f8bf7852d2a91f78ff625739e.tar.gz
upstream-749918911d35613f8bf7852d2a91f78ff625739e.tar.bz2
upstream-749918911d35613f8bf7852d2a91f78ff625739e.zip
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@nbd.name>
-rw-r--r--config/Config-kernel.in2
-rw-r--r--target/linux/x86/config-4.41
2 files changed, 2 insertions, 1 deletions
diff --git a/config/Config-kernel.in b/config/Config-kernel.in
index 3f30013845..a4c46f55ae 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 e2236b2a25..29d19daeb0 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