summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorPeter Xu <peterx@redhat.com>2020-03-04 12:51:52 -0500
committerPaolo Bonzini <pbonzini@redhat.com>2020-03-16 17:57:48 +0100
commit2bde08f9f5f13ef2674674a2e3d7420abd08be33 (patch)
treeb84346a30edd22dbbbfedeb2d15441a93dbe3386 /virt
parentabbed4fa94f69d2046c6f7c12f6ecabf195c553e (diff)
downloadlinux-2bde08f9f5f13ef2674674a2e3d7420abd08be33.tar.gz
linux-2bde08f9f5f13ef2674674a2e3d7420abd08be33.tar.bz2
linux-2bde08f9f5f13ef2674674a2e3d7420abd08be33.zip
KVM: Drop gfn_to_pfn_atomic()
It's never used anywhere now. Signed-off-by: Peter Xu <peterx@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'virt')
-rw-r--r--virt/kvm/kvm_main.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c
index 699ff9b35c88..2fc211017c72 100644
--- a/virt/kvm/kvm_main.c
+++ b/virt/kvm/kvm_main.c
@@ -1976,12 +1976,6 @@ kvm_pfn_t gfn_to_pfn_memslot_atomic(struct kvm_memory_slot *slot, gfn_t gfn)
}
EXPORT_SYMBOL_GPL(gfn_to_pfn_memslot_atomic);
-kvm_pfn_t gfn_to_pfn_atomic(struct kvm *kvm, gfn_t gfn)
-{
- return gfn_to_pfn_memslot_atomic(gfn_to_memslot(kvm, gfn), gfn);
-}
-EXPORT_SYMBOL_GPL(gfn_to_pfn_atomic);
-
kvm_pfn_t kvm_vcpu_gfn_to_pfn_atomic(struct kvm_vcpu *vcpu, gfn_t gfn)
{
return gfn_to_pfn_memslot_atomic(kvm_vcpu_gfn_to_memslot(vcpu, gfn), gfn);