linux-next/arch
Baoquan He d53a154cdc riscv, kexec: fix the ifdeffery for AFLAGS_kexec_relocate.o
This was introduced in commit fba8a8674f ("RISC-V: Add kexec
support").

It should work on CONFIG_KEXEC_CORE, but not CONFIG_KEXEC only, since
we could set CONFIG_KEXEC_FILE=y and CONFIG_KEXEC=N, or only set
CONFIG_CRASH_DUMP=y and disable both CONFIG_KEXEC and CONFIG_KEXEC_FILE.
In these cases, the AFLAGS won't take effect with the current ifdeffery
for AFLAGS_kexec_relocate.o.

So fix it now.

Link: https://lkml.kernel.org/r/20231201062538.27240-1-bhe@redhat.com
Signed-off-by: Baoquan He <bhe@redhat.com>
Cc: Albert Ou <aou@eecs.berkeley.edu>
Cc: Changbin Du <changbin.du@intel.com>
Cc: Nick Kossifidis <mick@ics.forth.gr>
Cc: Palmer Dabbelt <palmer@dabbelt.com>
Cc: Paul Walmsley <paul.walmsley@sifive.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2023-12-20 15:02:57 -08:00
..
alpha arch: turn off -Werror for architectures with known warnings 2023-12-10 17:21:33 -08:00
arc kprobes: unify kprobes_exceptions_nofify() prototypes 2023-11-10 19:59:05 +09:00
arm Merge branch 'master' into mm-hotfixes-stable 2023-12-06 17:03:50 -08:00
arm64 kexec_file, arm64: print out debugging message if required 2023-12-20 15:02:57 -08:00
csky Kbuild updates for v6.7 2023-11-04 08:07:19 -10:00
hexagon hexagon: traps: add internal prototypes for functions only called from asm 2023-12-10 17:21:37 -08:00
loongarch loongarch, kexec: change dependency of object files 2023-12-12 17:20:17 -08:00
m68k m68k, kexec: fix the incorrect ifdeffery and build dependency of CONFIG_KEXEC 2023-12-12 17:20:17 -08:00
microblaze asm-generic updates for v6.7 2023-11-01 15:28:33 -10:00
mips mips: fix r3k_cache_init build regression 2023-12-20 15:02:57 -08:00
nios2 vgacon, arch/*: remove unused screen_info definitions 2023-10-17 10:17:02 +02:00
openrisc OpenRISC updates for 6.6 2023-09-05 10:09:31 -07:00
parisc kexec_file, parisc: print out debugging message if required 2023-12-20 15:02:57 -08:00
powerpc kexec_file, power: print out debugging message if required 2023-12-20 15:02:57 -08:00
riscv riscv, kexec: fix the ifdeffery for AFLAGS_kexec_relocate.o 2023-12-20 15:02:57 -08:00
s390 s390/traps: only define is_valid_bugaddr() under CONFIG_GENERIC_BUG 2023-12-10 17:21:38 -08:00
sh sh, kexec: fix the incorrect ifdeffery and dependency of CONFIG_KEXEC 2023-12-12 17:20:18 -08:00
sparc arch: turn off -Werror for architectures with known warnings 2023-12-10 17:21:33 -08:00
um um,ethertap: Replace deprecated strncpy() with strscpy() 2023-09-29 11:37:50 -07:00
x86 kexec_file, x86: print out debugging message if required 2023-12-20 15:02:57 -08:00
xtensa TTY/Serial changes for 6.7-rc1 2023-11-03 15:44:25 -10:00
.gitignore
Kconfig arch: remove ARCH_TASK_STRUCT_ON_STACK 2023-12-10 17:21:31 -08:00