Skip to content

Commit b429eaf

Browse files
ubizjakIngo Molnar
authored andcommitted
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 <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Cc: Andy Lutomirski <[email protected]> Cc: Josh Poimboeuf <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Ard Biesheuvel <[email protected]> Cc: Kees Cook <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent f61f02d commit b429eaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2433,7 +2433,7 @@ source "kernel/livepatch/Kconfig"
24332433
endmenu
24342434

24352435
config CC_HAS_NAMED_AS
2436-
def_bool CC_IS_GCC && GCC_VERSION >= 120100
2436+
def_bool CC_IS_GCC && GCC_VERSION >= 90100
24372437

24382438
config CC_HAS_NAMED_AS_FIXED_ASAN
24392439
def_bool CC_IS_GCC && GCC_VERSION >= 130300

0 commit comments

Comments
 (0)