OSDN Git Service

KVM: VMX: remove unneeded 'asm volatile ("")' from vmcs_write64
authorUros Bizjak <ubizjak@gmail.com>
Sun, 2 Jun 2019 19:11:56 +0000 (21:11 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 5 Jun 2019 12:14:49 +0000 (14:14 +0200)
commit1ae4de23eddef465104277e79fa669bec7b3d288
treea7fdcde3c81072db306199cb3fb99ac9b202426c
parentb3ffd74a2f6fbec131eff6d81bc7a6dbbac57bc7
KVM: VMX: remove unneeded 'asm volatile ("")' from vmcs_write64

__vmcs_writel uses volatile asm, so there is no need to insert another
one between the first and the second call to __vmcs_writel in order
to prevent unwanted code moves for 32bit targets.

Signed-off-by: Uros Bizjak <ubizjak@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/ops.h