]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
riscv: select ARCH_USE_SYM_ANNOTATIONS
authorJisheng Zhang <jszhang@kernel.org>
Tue, 9 Jul 2024 16:05:22 +0000 (00:05 +0800)
committerPalmer Dabbelt <palmer@rivosinc.com>
Sun, 15 Sep 2024 07:03:23 +0000 (00:03 -0700)
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 <jszhang@kernel.org>
Reviewed-By: Clément Léger <cleger@rivosinc.com>
Link: https://lore.kernel.org/r/20240709160536.3690-3-jszhang@kernel.org
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/Kconfig

index 0f3cd7c3a4360529331d8dd0023c11460b957622..e97bf2a06c31d9ac7bac02d989766376a4e8bdee 100644 (file)
@@ -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