diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2016-09-07 14:47:20 -0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-09-16 16:57:45 +0200 |
commit | 3e3f50262eb441d0fd1de4dce06739e9c0fe7c61 (patch) | |
tree | 2d4f71fd2d271d3d71691a2cb276290d83db6773 /arch/x86/include/asm | |
parent | a545ab6a0085e6df9c7b6e9734b40ba4d2aca8c9 (diff) | |
download | linux-3e3f50262eb441d0fd1de4dce06739e9c0fe7c61.tar.gz linux-3e3f50262eb441d0fd1de4dce06739e9c0fe7c61.tar.bz2 linux-3e3f50262eb441d0fd1de4dce06739e9c0fe7c61.zip |
kvm: x86: drop read_tsc_offset()
The TSC offset can now be read directly from struct kvm_arch_vcpu.
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/include/asm')
-rw-r--r-- | arch/x86/include/asm/kvm_host.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h index ddffcfbe155c..32a43a25d415 100644 --- a/arch/x86/include/asm/kvm_host.h +++ b/arch/x86/include/asm/kvm_host.h @@ -954,7 +954,6 @@ struct kvm_x86_ops { bool (*has_wbinvd_exit)(void); - u64 (*read_tsc_offset)(struct kvm_vcpu *vcpu); void (*write_tsc_offset)(struct kvm_vcpu *vcpu, u64 offset); u64 (*read_l1_tsc)(struct kvm_vcpu *vcpu, u64 host_tsc); |