]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/percpu: Enable named address spaces for all capable GCC versions
authorUros Bizjak <ubizjak@gmail.com>
Mon, 20 May 2024 08:21:14 +0000 (10:21 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 21 May 2024 08:17:01 +0000 (10:17 +0200)
commit47ff30cc1be7bf426c03ecc84371452109b416e4
tree1b50aaba3ff1cc0c91dc93c74e3b7eb136fc05c1
parent9130ea06163fc229665b9ec4666de9f4ef68284d
x86/percpu: Enable named address spaces for all capable GCC versions

Enable named address spaces also for GCC 6, GCC 7 and GCC 8
releases. These compilers all produce kernel images that boot
without problems.

Use compile-time test to detect compiler support for named
address spaces. The test passes with GCC 6 as the earliest
compiler version where the support for named address spaces
was introduced.

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>
Link: https://lore.kernel.org/r/20240520082134.121320-1-ubizjak@gmail.com
arch/x86/Kconfig