]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: remaster kvm_write_tsc code
authorDenis Plotnikov <dplotnikov@virtuozzo.com>
Fri, 7 Apr 2017 09:09:52 +0000 (12:09 +0300)
committerRadim Krčmář <rkrcmar@redhat.com>
Wed, 12 Apr 2017 18:17:15 +0000 (20:17 +0200)
commite1bde83a79d130e26ee1994e2881d26a79c8aa05
tree05586fdc5b1af75fd56476339aff0c12f3345aa7
parenta81ec0d6e0c5d0d92141e4393a7db9bd8315cfc6
KVM: x86: remaster kvm_write_tsc code

Reuse existing code instead of using inline asm.
Make the code more concise and clear in the TSC
synchronization part.

Signed-off-by: Denis Plotnikov <dplotnikov@virtuozzo.com>
Reviewed-by: Roman Kagan <rkagan@virtuozzo.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
arch/x86/kvm/x86.c