m68k: Allow kexec on M68KCLASSIC with MMU enabled only
authorGreg Ungerer <gerg@linux-m68k.org>
Wed, 31 Aug 2022 01:25:39 +0000 (11:25 +1000)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 19 Sep 2022 08:40:58 +0000 (10:40 +0200)
commitd355a08e28691cc057f851a3cf9bf016bdfb3c39
tree58ffe96b51befa115fefb8c62a86a4e296f6b79d
parentc01b5a33bf0614e61e8074a51976134f62a64201
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>
arch/m68k/Kconfig