[PATCHv2 3/3] m68k: allow kexec on M68KCLASSIC with MMU enabled only

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



None of the no-MMU CPU types (classic or ColdFire) or ColdFire with
MMU enabled have support for kexec yet, so the configuration as it
stands is not quite right, and it will fail to compile on them.

Make CONFIG_KEXEC depend on both CONFIG_M68KCLASSIC and CONFIG_MMU.

Signed-off-by: Greg Ungerer <gerg@xxxxxxxxxxxxxx>
---

v2: disable kexec for ColdFire MMU as well

 arch/m68k/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/m68k/Kconfig b/arch/m68k/Kconfig
index b06faf6c0b27..7bff88118507 100644
--- a/arch/m68k/Kconfig
+++ b/arch/m68k/Kconfig
@@ -87,7 +87,7 @@ config MMU_SUN3
 
 config KEXEC
 	bool "kexec system call"
-	depends on M68KCLASSIC
+	depends on M68KCLASSIC && MMU
 	select KEXEC_CORE
 	help
 	  kexec is a system call that implements the ability to shutdown your
-- 
2.25.1




[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux