mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 12:11:40 +00:00
Merge patch series "riscv: select ARCH_USE_SYM_ANNOTATIONS"
Jisheng Zhang <jszhang@kernel.org> says:
commit 76329c6939
("riscv: Use SYM_*() assembly macros instead
of deprecated ones"), most riscv has been to converted the new style
SYM_ assembler annotations. The remaining one is sifive's
errata_cip_453.S, so convert to new style SYM_ annotations as well.
After that select ARCH_USE_SYM_ANNOTATIONS.
* b4-shazam-merge:
riscv: select ARCH_USE_SYM_ANNOTATIONS
riscv: errata: sifive: Use SYM_*() assembly macros
Link: https://lore.kernel.org/r/20240709160536.3690-1-jszhang@kernel.org
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
This commit is contained in:
commit
9b2863e2cc
@ -68,6 +68,7 @@ config RISCV
|
||||
select ARCH_USE_CMPXCHG_LOCKREF if 64BIT
|
||||
select ARCH_USE_MEMTEST
|
||||
select ARCH_USE_QUEUED_RWLOCKS
|
||||
select ARCH_USE_SYM_ANNOTATIONS
|
||||
select ARCH_USES_CFI_TRAPS if CFI_CLANG
|
||||
select ARCH_WANT_BATCHED_UNMAP_TLB_FLUSH if MMU
|
||||
select ARCH_WANT_DEFAULT_TOPDOWN_MMAP_LAYOUT if MMU
|
||||
|
@ -21,7 +21,7 @@
|
||||
1:
|
||||
.endm
|
||||
|
||||
ENTRY(sifive_cip_453_page_fault_trp)
|
||||
SYM_FUNC_START(sifive_cip_453_page_fault_trp)
|
||||
ADD_SIGN_EXT a0, t0, t1
|
||||
#ifdef CONFIG_MMU
|
||||
la t0, do_page_fault
|
||||
@ -29,10 +29,10 @@ ENTRY(sifive_cip_453_page_fault_trp)
|
||||
la t0, do_trap_unknown
|
||||
#endif
|
||||
jr t0
|
||||
END(sifive_cip_453_page_fault_trp)
|
||||
SYM_FUNC_END(sifive_cip_453_page_fault_trp)
|
||||
|
||||
ENTRY(sifive_cip_453_insn_fault_trp)
|
||||
SYM_FUNC_START(sifive_cip_453_insn_fault_trp)
|
||||
ADD_SIGN_EXT a0, t0, t1
|
||||
la t0, do_trap_insn_fault
|
||||
jr t0
|
||||
END(sifive_cip_453_insn_fault_trp)
|
||||
SYM_FUNC_END(sifive_cip_453_insn_fault_trp)
|
||||
|
Loading…
Reference in New Issue
Block a user