Skip to content

Commit 23cb051

Browse files
committed
arm64: Remove tautological LLVM Kconfig conditions
Now that the minimum supported version of LLVM for building the kernel has been bumped to 15.0.0, two sets of always true conditions can be safely removed in the arm64 Kconfig file. Acked-by: Will Deacon <[email protected]> Reviewed-by: Kees Cook <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Nathan Chancellor <[email protected]>
1 parent 02aba26 commit 23cb051

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

arch/arm64/Kconfig

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1492,8 +1492,6 @@ choice
14921492

14931493
config CPU_BIG_ENDIAN
14941494
bool "Build big-endian kernel"
1495-
# https://github.com/llvm/llvm-project/commit/1379b150991f70a5782e9a143c2ba5308da1161c
1496-
depends on AS_IS_GNU || AS_VERSION >= 150000
14971495
help
14981496
Say Y if you plan on running a kernel with a big-endian userspace.
14991497

@@ -2363,8 +2361,7 @@ config STACKPROTECTOR_PER_TASK
23632361

23642362
config UNWIND_PATCH_PAC_INTO_SCS
23652363
bool "Enable shadow call stack dynamically using code patching"
2366-
# needs Clang with https://github.com/llvm/llvm-project/commit/de07cde67b5d205d58690be012106022aea6d2b3 incorporated
2367-
depends on CC_IS_CLANG && CLANG_VERSION >= 150000
2364+
depends on CC_IS_CLANG
23682365
depends on ARM64_PTR_AUTH_KERNEL && CC_HAS_BRANCH_PROT_PAC_RET
23692366
depends on SHADOW_CALL_STACK
23702367
select UNWIND_TABLES

0 commit comments

Comments
 (0)