projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ac593c
)
KVM: Export necessary function for EPT
author
Sheng Yang
<sheng.yang@intel.com>
Fri, 25 Apr 2008 13:44:50 +0000
(21:44 +0800)
committer
Avi Kivity
<avi@qumranet.com>
Sun, 4 May 2008 11:44:40 +0000
(14:44 +0300)
Signed-off-by: Sheng Yang <sheng.yang@intel.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
virt/kvm/kvm_main.c
patch
|
blob
|
blame
|
history
diff --git
a/virt/kvm/kvm_main.c
b/virt/kvm/kvm_main.c
index e89338e2b04379d7c29e816de44e8b6824b7885e..f7ba099049eaeab16caf69d6bed1afc280a4a712 100644
(file)
--- 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