]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
riscv: kvm: Use SYM_*() assembly macros instead of deprecated ones
authorClément Léger <cleger@rivosinc.com>
Tue, 24 Oct 2023 13:26:54 +0000 (15:26 +0200)
committerAnup Patel <anup@brainfault.org>
Fri, 29 Dec 2023 07:01:31 +0000 (12:31 +0530)
commit683c5bbbf6aea247bc95a7eb9fdfba4fcc8c909a
treec4187f50cae3272f09e2912f4c4b80baa23a9b83
parent861deac3b092f37b2c5e6871732f3e11486f7082
riscv: kvm: Use SYM_*() assembly macros instead of deprecated ones

ENTRY()/END()/WEAK() macros are deprecated and we should make use of the
new SYM_*() macros [1] for better annotation of symbols. Replace the
deprecated ones with the new ones and fix wrong usage of END()/ENDPROC()
to correctly describe the symbols.

[1] https://docs.kernel.org/core-api/asm-annotations.html

Signed-off-by: Clément Léger <cleger@rivosinc.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Acked-by: Palmer Dabbelt <palmer@rivosinc.com>
Signed-off-by: Anup Patel <anup@brainfault.org>
arch/riscv/kvm/vcpu_switch.S