aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@linux-m68k.org>2022-08-31 11:25:39 +1000
committerGeert Uytterhoeven <geert@linux-m68k.org>2022-09-19 10:40:58 +0200
commitd355a08e28691cc057f851a3cf9bf016bdfb3c39 (patch)
tree58ffe96b51befa115fefb8c62a86a4e296f6b79d
parentm68k: Move from strlcpy with unused retval to strscpy (diff)
downloadlinux-dev-d355a08e28691cc057f851a3cf9bf016bdfb3c39.tar.xz
linux-dev-d355a08e28691cc057f851a3cf9bf016bdfb3c39.zip
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 <gerg@linux-m68k.org> Link: https://lore.kernel.org/r/20220831012539.3416470-1-gerg@linux-m68k.org Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
-rw-r--r--arch/m68k/Kconfig2
1 files changed, 1 insertions, 1 deletions
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