riscv: Use SYM_*() assembly macros instead of deprecated ones
authorClément Léger <cleger@rivosinc.com>
Tue, 24 Oct 2023 13:26:52 +0000 (15:26 +0200)
committerPalmer Dabbelt <palmer@rivosinc.com>
Mon, 6 Nov 2023 17:42:47 +0000 (09:42 -0800)
commit76329c693924d8f37afbf361f0d8daab594e1644
treed094e157fd0d3d01e0e6cd608cce920b75b1ec38
parentb18f7296fbfdb2ad0871f00f3042fc74663d52ac
riscv: 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>
Link: https://lore.kernel.org/r/20231024132655.730417-3-cleger@rivosinc.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
17 files changed:
arch/riscv/kernel/copy-unaligned.S
arch/riscv/kernel/fpu.S
arch/riscv/kernel/head.S
arch/riscv/kernel/hibernate-asm.S
arch/riscv/kernel/mcount-dyn.S
arch/riscv/kernel/mcount.S
arch/riscv/kernel/probes/rethook_trampoline.S
arch/riscv/kernel/suspend_entry.S
arch/riscv/kernel/vdso/flush_icache.S
arch/riscv/kernel/vdso/getcpu.S
arch/riscv/kernel/vdso/rt_sigreturn.S
arch/riscv/kernel/vdso/sys_hwprobe.S
arch/riscv/lib/memcpy.S
arch/riscv/lib/memmove.S
arch/riscv/lib/memset.S
arch/riscv/lib/uaccess.S
arch/riscv/purgatory/entry.S
This page took 0.063818 seconds and 4 git commands to generate.