diff options
author | Baoquan He <bhe@redhat.com> | 2023-12-08 08:30:33 +0100 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-12-13 02:20:17 +0100 |
commit | 9bad6b75fca1b38b08d94e93f49a90cda44702b9 (patch) | |
tree | 9c644f56a9a63868dccce49742f0f354f382a289 /rust/macros | |
parent | loongarch, kexec: change dependency of object files (diff) | |
download | linux-9bad6b75fca1b38b08d94e93f49a90cda44702b9.tar.xz linux-9bad6b75fca1b38b08d94e93f49a90cda44702b9.zip |
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>
Diffstat (limited to 'rust/macros')
0 files changed, 0 insertions, 0 deletions