From: Stephen Rothwell Date: Fri, 14 Jan 2011 23:36:26 +0000 (+1100) Subject: xen: export arbitrary_virt_to_machine X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=de23be5f3580f7b9b52cad6633bb3a3cd13abafe;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git xen: export arbitrary_virt_to_machine Fixes this build error: ERROR: "arbitrary_virt_to_machine" [drivers/xen/xen-gntdev.ko] undefined! Signed-off-by: Stephen Rothwell Signed-off-by: Linus Torvalds --- diff --git a/arch/x86/xen/mmu.c b/arch/x86/xen/mmu.c index 7575e55cd52e..5e92b61ad574 100644 --- a/arch/x86/xen/mmu.c +++ b/arch/x86/xen/mmu.c @@ -201,6 +201,7 @@ xmaddr_t arbitrary_virt_to_machine(void *vaddr) offset = address & ~PAGE_MASK; return XMADDR(((phys_addr_t)pte_mfn(*pte) << PAGE_SHIFT) + offset); } +EXPORT_SYMBOL_GPL(arbitrary_virt_to_machine); void make_lowmem_page_readonly(void *vaddr) {