Forráskód Böngészése

kernel: enable CRASH_DUMP on supported platforms

While we have CRASHLOG on MIPS it makes sense to support 'classic'
kexec-based CRASH_DUMP on x86 and arm platforms.

Signed-off-by: Daniel Golle <[email protected]>
Daniel Golle 8 éve
szülő
commit
48d71ab502
1 módosított fájl, 10 hozzáadás és 0 törlés
  1. 10 0
      config/Config-kernel.in

+ 10 - 0
config/Config-kernel.in

@@ -231,6 +231,16 @@ config KERNEL_RELAY
 config KERNEL_KEXEC
 	bool "Enable kexec support"
 
+config KERNEL_PROC_VMCORE
+	bool
+
+config KERNEL_CRASH_DUMP
+	depends on i386 || x86_64 || arm || armeb
+	select KERNEL_KEXEC
+	select KERNEL_PROC_VMCORE
+	bool "Enable support for kexec crashdump"
+	default y
+
 config USE_RFKILL
 	bool "Enable rfkill support"
 	default RFKILL_SUPPORT