OSDN Git Service

KVM: VMX: Use #defines in place of immediates in VM-Enter inline asm
authorSean Christopherson <sean.j.christopherson@intel.com>
Fri, 25 Jan 2019 15:41:10 +0000 (07:41 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 20 Feb 2019 21:48:12 +0000 (22:48 +0100)
commitc14f9dd50b01b55834a757dd50af35b8e168512d
treedba8b063eaf263d24e0a7d39ed43f74e5f13503b
parent95c7b77d6e40a407ca5bd21d7ba2e1c28ad8e85a
KVM: VMX: Use #defines in place of immediates in VM-Enter inline asm

...to prepare for moving the inline asm to a proper asm sub-routine.
Eliminating the immediates allows a nearly verbatim move, e.g. quotes,
newlines, tabs and __stringify need to be dropped, but other than those
cosmetic changes the only function change will be to replace the final
"jmp" with a "ret".

Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/vmx.c