linux-stable/arch/sh/kernel
Baoquan He d70c27b728 sh, kexec: fix the incorrect ifdeffery and 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 building kexec_core related object files,
and the ifdeffery on SuperH from CONFIG_KEXEC to CONFIG_KEXEC_CORE.

Link: https://lkml.kernel.org/r/20231208073036.7884-5-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:18 -08:00
..
cpu sh: Remove unused SH4-202 support 2023-10-25 16:49:58 +02:00
syscalls asm-generic updates for v6.7 2023-11-01 15:28:33 -10:00
vsyscall
.gitignore
asm-offsets.c
crash_dump.c vmcore: convert copy_oldmem_page() to take an iov_iter 2022-04-29 14:37:59 -07:00
debugtraps.S
disassemble.c
dma-coherent.c dma-mapping: merge <linux/dma-noncoherent.h> into <linux/dma-map-ops.h> 2020-10-06 07:07:06 +02:00
dumpstack.c
dwarf.c
entry-common.S sh: fix syscall tracing 2020-09-13 21:22:55 -04:00
ftrace.c ftrace: Cleanup ftrace_dyn_arch_init() 2021-10-08 19:41:39 -04:00
head_32.S sh: init: use OF_EARLY_FLATTREE for early init 2023-03-23 10:00:03 +01:00
hw_breakpoint.c
idle.c sh/cpu: Switch to arch_cpu_finalize_init() 2023-06-16 10:16:00 +02:00
io.c
io_trapped.c sh: remove CONFIG_SET_FS support 2022-02-25 09:36:06 +01:00
iomap.c
ioport.c sh: machvec: Remove custom ioport_{un,}map() 2023-10-25 16:50:30 +02:00
irq.c asm-generic: Conditionally enable do_softirq_own_stack() via Kconfig. 2022-09-05 17:20:55 +02:00
irq_32.c
kdebugfs.c
kgdb.c
kprobes.c kprobes: treewide: Make it harder to refer kretprobe_trampoline directly 2021-09-30 21:24:06 -04:00
machine_kexec.c crash_core: change the prototype of function parse_crashkernel() 2023-10-04 10:41:58 -07:00
machvec.c sh: machvec: Use char[] for section boundaries 2022-09-13 10:33:17 -07:00
Makefile sh, kexec: fix the incorrect ifdeffery and dependency of CONFIG_KEXEC 2023-12-12 17:20:18 -08:00
module.c
nmi_debug.c sh: nmi_debug: fix return value of __setup handler 2023-03-23 10:00:02 +01:00
perf_callchain.c
perf_event.c sh: Get rid of oprofile leftovers 2021-04-22 13:32:39 +01:00
process.c
process_32.c kernel: exit: cleanup release_thread() 2022-09-11 21:55:07 -07:00
ptrace.c
ptrace_32.c sh: ptrace: user_regset_copyin_ignore() always returns 0 2022-11-15 14:30:41 -08:00
reboot.c sh, kexec: fix the incorrect ifdeffery and dependency of CONFIG_KEXEC 2023-12-12 17:20:18 -08:00
relocate_kernel.S
return_address.c
setup.c sh, kexec: fix the incorrect ifdeffery and dependency of CONFIG_KEXEC 2023-12-12 17:20:18 -08:00
sh_bios.c
sh_ksyms_32.c
signal_32.c sh: sanitize the flags on sigreturn 2023-03-09 10:01:59 -08:00
smp.c treewide: Trace IPIs sent via smp_send_reschedule() 2023-03-24 11:01:28 +01:00
stacktrace.c
swsusp.c
sys_sh.c
sys_sh32.c
syscalls_32.S
time.c
topology.c drivers/base/node: consolidate node device subsystem initialization in node_dev_init() 2022-03-22 15:57:10 -07:00
traps.c exit: Add and use make_task_dead. 2021-12-13 12:04:45 -06:00
traps_32.c sh: remove CONFIG_SET_FS support 2022-02-25 09:36:06 +01:00
unwinder.c
vmlinux.lds.S Scheduler updates in this cycle are: 2023-02-20 17:41:08 -08:00