summaryrefslogtreecommitdiff
path: root/virt
diff options
context:
space:
mode:
authorXiubo Li <lixiubo@cmss.chinamobile.com>2015-02-26 09:58:22 +0300
committerMarcelo Tosatti <mtosatti@redhat.com>2015-03-10 16:37:44 +0300
commitee543159d5e0cfa9f3a349ac4e3da01a0ec66c78 (patch)
treee52167fd7415562dd76df7649558fd1edc71e9b0 /virt
parentf4fee93270abbf862aab268111ac1e12934130c4 (diff)
downloadlinux-ee543159d5e0cfa9f3a349ac4e3da01a0ec66c78.tar.xz
KVM: EXPORT_SYMBOL should immediately follow its function
WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable +EXPORT_SYMBOL_GPL(gfn_to_page); This patch fixes these warnings to reduce noise when checking new patches in kvm_main.c. Signed-off-by: Xiubo Li <lixiubo@cmss.chinamobile.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'virt')
-rw-r--r--virt/kvm/kvm_main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c
index 7d2c2ac3cb8a..f9ad30727388 100644
--- a/virt/kvm/kvm_main.c
+++ b/virt/kvm/kvm_main.c
@@ -1473,7 +1473,6 @@ struct page *gfn_to_page(struct kvm *kvm, gfn_t gfn)
return kvm_pfn_to_page(pfn);
}
-
EXPORT_SYMBOL_GPL(gfn_to_page);
void kvm_release_page_clean(struct page *page)