diff options
author | Baoquan He <[email protected]> | 2023-12-01 14:25:38 +0800 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2023-12-20 15:02:57 -0800 |
commit | d53a154cdc54b4fa2dbbf10646d613b0b664b82e (patch) | |
tree | 233ecea77b909bda99a8ab616aee688fd2c95e49 /lib/test_fortify/write_overflow-strncpy.c | |
parent | a78c668b9a411cbf9356cec9122ac3380016e1c6 (diff) |
riscv, kexec: fix the ifdeffery for AFLAGS_kexec_relocate.o
This was introduced in commit fba8a8674f68 ("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/[email protected]
Signed-off-by: Baoquan He <[email protected]>
Cc: Albert Ou <[email protected]>
Cc: Changbin Du <[email protected]>
Cc: Nick Kossifidis <[email protected]>
Cc: Palmer Dabbelt <[email protected]>
Cc: Paul Walmsley <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy.c')
0 files changed, 0 insertions, 0 deletions