Baoquan He 9bad6b75fc m68k, kexec: fix the incorrect ifdeffery and build dependency of CONFIG_KEXEC
The select of KEXEC for CRASH_DUMP in kernel/Kconfig.kexec will be
dropped, then compiling errors will be triggered if below config items are
set:

===
CONFIG_CRASH_CORE=y
CONFIG_KEXEC_CORE=y
CONFIG_CRASH_DUMP=y
===

Here, change the dependency of buinding machine_kexec.o relocate_kernel.o
and the ifdeffery in asm/kexe.h to CONFIG_KEXEC_CORE.

Link: https://lkml.kernel.org/r/20231208073036.7884-3-bhe@redhat.com
Signed-off-by: Baoquan He <bhe@redhat.com>
Cc: Eric DeVolder <eric_devolder@yahoo.com>
Cc: Ignat Korchagin <ignat@cloudflare.com>
Cc: kernel test robot <lkp@intel.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2023-12-12 17:20:17 -08:00
..
2023-11-01 15:28:33 -10:00
2021-09-24 13:35:07 +02:00
2023-10-22 16:38:55 +02:00
2023-10-06 10:03:01 +02:00
2023-10-06 10:03:01 +02:00
2012-03-28 18:30:02 +01:00
2023-10-06 10:03:01 +02:00
2023-10-06 10:03:01 +02:00
2017-11-06 08:25:21 +10:00
2023-10-06 10:03:01 +02:00
2023-10-06 10:03:01 +02:00
2023-10-06 10:03:02 +02:00
2023-10-06 10:03:01 +02:00