From: Nathan Chancellor Date: Thu, 21 Aug 2025 21:15:42 +0000 (-0700) Subject: mips: Unconditionally select ARCH_HAS_CURRENT_STACK_POINTER X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=e633c2e78fd1cc9c4b89518b8d12578a7aa529c1;p=users%2Fhch%2Fmisc.git mips: Unconditionally select ARCH_HAS_CURRENT_STACK_POINTER 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 Reviewed-by: Kees Cook Link: https://lore.kernel.org/r/20250821-bump-min-llvm-ver-15-v2-5-635f3294e5f0@kernel.org Signed-off-by: Nathan Chancellor --- diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index caf508f6e9ec..bc7473505f4a 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -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