]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
mips: Unconditionally select ARCH_HAS_CURRENT_STACK_POINTER
authorNathan Chancellor <nathan@kernel.org>
Thu, 21 Aug 2025 21:15:42 +0000 (14:15 -0700)
committerNathan Chancellor <nathan@kernel.org>
Thu, 28 Aug 2025 23:58:44 +0000 (16:58 -0700)
Now that the minimum supported version of LLVM for building the kernel
has been bumped to 15.0.0, the selection of
ARCH_HAS_CURRENT_STACK_POINTER can be made unconditional since it is
always true.

Acked-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Reviewed-by: Kees Cook <kees@kernel.org>
Link: https://lore.kernel.org/r/20250821-bump-min-llvm-ver-15-v2-5-635f3294e5f0@kernel.org
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
arch/mips/Kconfig

index caf508f6e9ec8e725a73f2027d1fc29c8cf808a5..bc7473505f4a5efbcc41a98134a1a8058973a543 100644 (file)
@@ -6,7 +6,7 @@ config MIPS
        select ARCH_BINFMT_ELF_STATE if MIPS_FP_SUPPORT
        select ARCH_HAS_CPU_CACHE_ALIASING
        select ARCH_HAS_CPU_FINALIZE_INIT
-       select ARCH_HAS_CURRENT_STACK_POINTER if !CC_IS_CLANG || CLANG_VERSION >= 140000
+       select ARCH_HAS_CURRENT_STACK_POINTER
        select ARCH_HAS_DEBUG_VIRTUAL if !64BIT
        select ARCH_HAS_DMA_OPS if MACH_JAZZ
        select ARCH_HAS_FORTIFY_SOURCE