From: Sheng Yang Date: Fri, 25 Apr 2008 13:44:50 +0000 (+0800) Subject: KVM: Export necessary function for EPT X-Git-Tag: MMI-PSA29.97-13-9~34464^2~11 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0d15029895051904e31925ec63525cc3a637f7de;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git KVM: Export necessary function for EPT Signed-off-by: Sheng Yang Signed-off-by: Avi Kivity --- diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c index e89338e2b043..f7ba099049ea 100644 --- a/virt/kvm/kvm_main.c +++ b/virt/kvm/kvm_main.c @@ -522,6 +522,7 @@ unsigned long gfn_to_hva(struct kvm *kvm, gfn_t gfn) return bad_hva(); return (slot->userspace_addr + (gfn - slot->base_gfn) * PAGE_SIZE); } +EXPORT_SYMBOL_GPL(gfn_to_hva); /* * Requires current->mm->mmap_sem to be held