Эх сурвалжийг харах

powerpc/44x: Enable CRASH_DUMP for 440x

Now that we have relocatable kernel, supporting CRASH_DUMP only requires
turning the switches on for UP machines.

We don't have kexec support on 47x yet. Enabling SMP support would be done
as part of enabling the PPC_47x support.

Signed-off-by: Suzuki K. Poulose <suzuki@in.ibm.com>
Cc: Josh Boyer <jwboyer@gmail.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: linuxppc-dev <linuxppc-dev@lists.ozlabs.org>
Signed-off-by: Josh Boyer <jwboyer@gmail.com>
Suzuki Poulose 13 жил өмнө
parent
commit
5b2e478da0

+ 2 - 2
arch/powerpc/Kconfig

@@ -367,8 +367,8 @@ config KEXEC
 
 
 config CRASH_DUMP
 config CRASH_DUMP
 	bool "Build a kdump crash kernel"
 	bool "Build a kdump crash kernel"
-	depends on PPC64 || 6xx || FSL_BOOKE
-	select RELOCATABLE if PPC64
+	depends on PPC64 || 6xx || FSL_BOOKE || (44x && !SMP && !PPC_47x)
+	select RELOCATABLE if PPC64 || 44x
 	select DYNAMIC_MEMSTART if FSL_BOOKE
 	select DYNAMIC_MEMSTART if FSL_BOOKE
 	help
 	help
 	  Build a kernel suitable for use as a kdump capture kernel.
 	  Build a kernel suitable for use as a kdump capture kernel.