KVM: SVM: Remove flush_guest_tlb function
authorJoerg Roedel <joerg.roedel@amd.com>
Fri, 3 Dec 2010 14:25:14 +0000 (15:25 +0100)
committerAvi Kivity <avi@redhat.com>
Wed, 12 Jan 2011 09:30:42 +0000 (11:30 +0200)
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>
arch/x86/kvm/svm.c

index 58cabb550afd62995e3121ac8d246bc985cc2d0d..16a73c77b27e3e96403a88f2eef77d89d3c622eb 100644 (file)
@@ -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