Skip to content

Commit 6578a1f

Browse files
committed
riscv: Remove version check for LTO_CLANG selects
Now that the minimum supported version of LLVM for building the kernel has been bumped to 15.0.0, there is no need to check the LLD version before selecting ARCH_SUPPORTS_LTO_CLANG{,_THIN} because it will always be true. Reviewed-by: Kees Cook <[email protected]> Reviewed-by: Conor Dooley <[email protected]> Acked-by: Alexandre Ghiti <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Nathan Chancellor <[email protected]>
1 parent 488954c commit 6578a1f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

arch/riscv/Kconfig

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,8 @@ config RISCV
6464
select ARCH_SUPPORTS_DEBUG_PAGEALLOC if MMU
6565
select ARCH_SUPPORTS_HUGE_PFNMAP if TRANSPARENT_HUGEPAGE
6666
select ARCH_SUPPORTS_HUGETLBFS if MMU
67-
# LLD >= 14: https://github.com/llvm/llvm-project/issues/50505
68-
select ARCH_SUPPORTS_LTO_CLANG if LLD_VERSION >= 140000
69-
select ARCH_SUPPORTS_LTO_CLANG_THIN if LLD_VERSION >= 140000
67+
select ARCH_SUPPORTS_LTO_CLANG
68+
select ARCH_SUPPORTS_LTO_CLANG_THIN
7069
select ARCH_SUPPORTS_MSEAL_SYSTEM_MAPPINGS if 64BIT && MMU
7170
select ARCH_SUPPORTS_PAGE_TABLE_CHECK if MMU
7271
select ARCH_SUPPORTS_PER_VMA_LOCK if MMU

0 commit comments

Comments
 (0)