[PATCH 0/2] x86: Fix inline asm call constraints for clang
From: Josh Poimboeuf
Date: Tue Sep 19 2017 - 14:45:41 EST
Patch 1 is a bug fix for an objtool issue which was uncovered by patch 2.
Patch 2 is the last fix needed for clang to be able to compile and boot
the kernel.
Josh Poimboeuf (2):
objtool: Handle another GCC stack pointer adjustment bug
x86/asm: Fix inline asm call constraints for clang
arch/x86/include/asm/alternative.h | 3 +-
arch/x86/include/asm/asm.h | 9 +++++
arch/x86/include/asm/mshyperv.h | 27 ++++++---------
arch/x86/include/asm/paravirt_types.h | 14 ++++----
arch/x86/include/asm/preempt.h | 15 +++------
arch/x86/include/asm/processor.h | 6 ++--
arch/x86/include/asm/rwsem.h | 6 ++--
arch/x86/include/asm/uaccess.h | 5 ++-
arch/x86/include/asm/xen/hypercall.h | 5 ++-
arch/x86/kvm/emulate.c | 3 +-
arch/x86/kvm/vmx.c | 4 +--
arch/x86/mm/fault.c | 3 +-
tools/objtool/Documentation/stack-validation.txt | 20 ++++++++---
tools/objtool/arch/x86/decode.c | 6 ++--
tools/objtool/check.c | 43 ++++++++++++++++--------
15 files changed, 92 insertions(+), 77 deletions(-)
--
2.13.5