]> git.baikalelectronics.ru Git - kernel.git/commit
asm goto: eradicate CC_HAS_ASM_GOTO
authorNick Desaulniers <ndesaulniers@google.com>
Fri, 19 Aug 2022 19:06:40 +0000 (12:06 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 21 Aug 2022 17:06:28 +0000 (10:06 -0700)
commit6109d56918d377017460679f54bbea6000c9e408
treecf05961f6278ab64839aa82f161e41ceda669c06
parent4d1223076b1c1f2cd6febe6de6c5b6ff388513ad
asm goto: eradicate CC_HAS_ASM_GOTO

GCC has supported asm goto since 4.5, and Clang has since version 9.0.0.
The minimum supported versions of these tools for the build according to
Documentation/process/changes.rst are 5.1 and 11.0.0 respectively.

Remove the feature detection script, Kconfig option, and clean up some
fallback code that is no longer supported.

The removed script was also testing for a GCC specific bug that was
fixed in the 4.7 release.

Also remove workarounds for bpftrace using clang older than 9.0.0, since
other BPF backend fixes are required at this point.

Link: https://lore.kernel.org/lkml/CAK7LNATSr=BXKfkdW8f-H5VT_w=xBpT2ZQcZ7rm6JfkdE+QnmA@mail.gmail.com/
Link: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48637
Acked-by: Borislav Petkov <bp@suse.de>
Suggested-by: Masahiro Yamada <masahiroy@kernel.org>
Suggested-by: Alexei Starovoitov <alexei.starovoitov@gmail.com>
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Reviewed-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Reviewed-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/kbuild/kconfig-language.rst
arch/Kconfig
arch/um/include/asm/cpufeature.h
arch/x86/Makefile
arch/x86/include/asm/cpufeature.h
arch/x86/include/asm/rmwcc.h
arch/x86/kvm/emulate.c
init/Kconfig
scripts/gcc-goto.sh [deleted file]
tools/arch/x86/include/asm/rmwcc.h