summaryrefslogtreecommitdiff
path: root/arch/x86/Kconfig
diff options
context:
space:
mode:
authorUros Bizjak <ubizjak@gmail.com>2024-03-21 19:46:41 +0300
committerIngo Molnar <mingo@kernel.org>2024-03-21 22:16:20 +0300
commitb429eafe0d9f765d8626e53221ce3108b783da5e (patch)
tree7baec6e8975c6c30a056ff449aa2270f6a327f08 /arch/x86/Kconfig
parentf61f02d1ff788ae5ad485ef8edd88d9c93557994 (diff)
downloadlinux-b429eafe0d9f765d8626e53221ce3108b783da5e.tar.xz
x86/percpu: Enable named address spaces for GCC 9.1+
Enable named address spaces also for GCC 9, GCC 10 and GCC 11 releases. These compilers all produce kernel images that boot without problems. GCC_VERSION cutoff is arbitrary. It is primary a risk-reduction cutoff, older compilers will be tested and enabled in linux 6.10 release. Signed-off-by: Uros Bizjak <ubizjak@gmail.com> Signed-off-by: Ingo Molnar <mingo@kernel.org> Cc: Andy Lutomirski <luto@kernel.org> Cc: Josh Poimboeuf <jpoimboe@redhat.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Ard Biesheuvel <ardb@kernel.org> Cc: Kees Cook <keescook@chromium.org> Link: https://lore.kernel.org/r/20240321164647.289879-1-ubizjak@gmail.com
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r--arch/x86/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 09455d93b947..03c9d1100f09 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -2433,7 +2433,7 @@ source "kernel/livepatch/Kconfig"
endmenu
config CC_HAS_NAMED_AS
- def_bool CC_IS_GCC && GCC_VERSION >= 120100
+ def_bool CC_IS_GCC && GCC_VERSION >= 90100
config CC_HAS_NAMED_AS_FIXED_ASAN
def_bool CC_IS_GCC && GCC_VERSION >= 130300