Revert "x86/jump-labels: Macrofy inline assembly code to work around GCC inlining bugs"
This reverts commit 5bdcd510. The macro based workarounds for GCC's inlining bugs caused regressions: distcc and other distro build setups broke, and the fixes are not easy nor will they solve regressions on already existing installations. So we are reverting this patch and the 8 followup patches. What makes this revert easier is that GCC9 will likely include the new 'asm inline' syntax that makes inlining of assembly blocks a lot more robust. This is a superior method to any macro based hackeries - and might even be backported to GCC8, which would make all modern distros get the inlining fixes as well. Many thanks to Masahiro Yamada and others for helping sort out these problems. Reported-by: Masahiro Yamada <firstname.lastname@example.org> Reviewed-by: Borislav Petkov <email@example.com> Reviewed-by: Thomas Gleixner <firstname.lastname@example.org> Cc: Juergen Gross <email@example.com> Cc: Richard Biener <firstname.lastname@example.org> Cc: Kees Cook <email@example.com> Cc: Segher Boessenkool <firstname.lastname@example.org> Cc: Ard Biesheuvel <email@example.com> Cc: Peter Zijlstra <firstname.lastname@example.org> Cc: Josh Poimboeuf <email@example.com> Cc: Nadav Amit <firstname.lastname@example.org> Cc: Linus Torvalds <email@example.com> Cc: firstname.lastname@example.org Signed-off-by: Ingo Molnar <email@example.com>
Showing with 55 additions and 20 deletions