summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/svm.c
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2010-12-03 15:25:14 +0100
committerAvi Kivity <avi@redhat.com>2011-01-12 11:30:42 +0200
commitfa22a8d608a580264a99f0ddf4bb7fe65a9c2eb3 (patch)
treefc434f9a9fa5a5f4d8df6896643f125194e360a0 /arch/x86/kvm/svm.c
parentfb67e14fc90f18250259faf61a269320ea8e4d8f (diff)
downloadop-kernel-dev-fa22a8d608a580264a99f0ddf4bb7fe65a9c2eb3.zip
op-kernel-dev-fa22a8d608a580264a99f0ddf4bb7fe65a9c2eb3.tar.gz
KVM: SVM: Remove flush_guest_tlb function
This function is unused and there is svm_flush_tlb which does the same. So this function can be removed. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/kvm/svm.c')
-rw-r--r--arch/x86/kvm/svm.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c
index 58cabb55..16a73c7 100644
--- a/arch/x86/kvm/svm.c
+++ b/arch/x86/kvm/svm.c
@@ -426,11 +426,6 @@ static inline void force_new_asid(struct kvm_vcpu *vcpu)
to_svm(vcpu)->asid_generation--;
}
-static inline void flush_guest_tlb(struct kvm_vcpu *vcpu)
-{
- force_new_asid(vcpu);
-}
-
static int get_npt_level(void)
{
#ifdef CONFIG_X86_64
OpenPOWER on IntegriCloud