]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6c6a58cc62a0b3cbe87fb38f997c533b9e3d3b48
treedba8b063eaf263d24e0a7d39ed43f74e5f13503b
parent55f5768e14dc6758d853ea2ab900adec3e176ebb
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