Skip to content

Commit 6868d12

Browse files
xhackerustcpalmer-dabbelt
authored andcommitted
riscv: errata: sifive: Use SYM_*() assembly macros
ENTRY()/END() 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. [1] https://docs.kernel.org/core-api/asm-annotations.html Signed-off-by: Jisheng Zhang <[email protected]> Reviewed-By: Clément Léger <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
1 parent 8400291 commit 6868d12

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

arch/riscv/errata/sifive/errata_cip_453.S

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,18 @@
2121
1:
2222
.endm
2323

24-
ENTRY(sifive_cip_453_page_fault_trp)
24+
SYM_FUNC_START(sifive_cip_453_page_fault_trp)
2525
ADD_SIGN_EXT a0, t0, t1
2626
#ifdef CONFIG_MMU
2727
la t0, do_page_fault
2828
#else
2929
la t0, do_trap_unknown
3030
#endif
3131
jr t0
32-
END(sifive_cip_453_page_fault_trp)
32+
SYM_FUNC_END(sifive_cip_453_page_fault_trp)
3333

34-
ENTRY(sifive_cip_453_insn_fault_trp)
34+
SYM_FUNC_START(sifive_cip_453_insn_fault_trp)
3535
ADD_SIGN_EXT a0, t0, t1
3636
la t0, do_trap_insn_fault
3737
jr t0
38-
END(sifive_cip_453_insn_fault_trp)
38+
SYM_FUNC_END(sifive_cip_453_insn_fault_trp)

0 commit comments

Comments
 (0)