]> 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)
commitae06f95d0bb07e88847b0c8964add5a84586a427
tree05586fdc5b1af75fd56476339aff0c12f3345aa7
parentb823bd62b08a979964d6fa7f328f679dfde27f77
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