]> 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)
commit20a1a45408befa2918b5dee2ec5fce5283d8e019
treedba8b063eaf263d24e0a7d39ed43f74e5f13503b
parent12625d191b9b6d7741d4b1da0d7977a8a9606a0e
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