Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fa22a8d6 authored by Joerg Roedel's avatar Joerg Roedel Committed by Avi Kivity
Browse files

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: default avatarJoerg Roedel <joerg.roedel@amd.com>
Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent fb67e14f
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -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