Skip to content

Commit 7c9d980

Browse files
xhackerustcpalmer-dabbelt
authored andcommitted
riscv: select ARCH_USE_SYM_ANNOTATIONS
Now, riscv has been converted to the new style SYM_ assembler annotations. So select ARCH_USE_SYM_ANNOTATIONS to ensure the deprecated macros such as ENTRY(), END(), WEAK() and so on are not available and we don't regress. 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 6868d12 commit 7c9d980

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/riscv/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ config RISCV
6868
select ARCH_USE_CMPXCHG_LOCKREF if 64BIT
6969
select ARCH_USE_MEMTEST
7070
select ARCH_USE_QUEUED_RWLOCKS
71+
select ARCH_USE_SYM_ANNOTATIONS
7172
select ARCH_USES_CFI_TRAPS if CFI_CLANG
7273
select ARCH_WANT_BATCHED_UNMAP_TLB_FLUSH if MMU
7374
select ARCH_WANT_DEFAULT_TOPDOWN_MMAP_LAYOUT if MMU

0 commit comments

Comments
 (0)