From: Sheng Yang Date: Fri, 25 Apr 2008 13:44:50 +0000 (+0800) Subject: KVM: Export necessary function for EPT X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0d15029895051904e31925ec63525cc3a637f7de;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.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