]> git.baikalelectronics.ru Git - kernel.git/commit
RISC-V: Prepare dropping week attribute from arch_kexec_apply_relocations[_add]
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Mon, 30 May 2022 07:42:02 +0000 (09:42 +0200)
committerPalmer Dabbelt <palmer@rivosinc.com>
Mon, 30 May 2022 23:04:37 +0000 (16:04 -0700)
commit58643a1fe1276aeab92a9106f8ea08c3696d237c
tree2b8635956a133c2c1b858edc67a7aa860dbcdcd5
parentea1c0ad65d0b036aa35e923723515884431b4f08
RISC-V: Prepare dropping week attribute from arch_kexec_apply_relocations[_add]

Without this change arch/riscv/kernel/elf_kexec.c fails to compile once
commit 233c1e6c319c ("kexec_file: drop weak attribute from
arch_kexec_apply_relocations[_add]") is also contained in the tree.
This currently happens in next-20220527.

Prepare the RISC-V similar to the s390 adaption done in 233c1e6c319c.
This is safe to do on top of the riscv change even without the change to
arch_kexec_apply_relocations.

Fixes: 7d80b55bbe8f ("RISC-V: Load purgatory in kexec_file")
Looks-good-to: liaochang (A) <liaochang1@huawei.com>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/include/asm/kexec.h