From: Greg Ungerer Date: Wed, 31 Aug 2022 01:25:39 +0000 (+1000) Subject: m68k: Allow kexec on M68KCLASSIC with MMU enabled only X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=d355a08e28691cc057f851a3cf9bf016bdfb3c39;p=linux.git m68k: Allow kexec on M68KCLASSIC with MMU enabled only 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 Link: https://lore.kernel.org/r/20220831012539.3416470-1-gerg@linux-m68k.org Signed-off-by: Geert Uytterhoeven --- diff --git a/arch/m68k/Kconfig b/arch/m68k/Kconfig index b06faf6c0b27c..7bff881185070 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