summaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2011-01-15 00:36:26 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2011-01-15 01:11:12 +0100
commitde23be5f3580f7b9b52cad6633bb3a3cd13abafe (patch)
treee9edf155c524878a058737dd04ec4eccafa0a16d /arch/x86
parentRevert "drm: Update fbdev fb_fix_screeninfo" (diff)
downloadlinux-de23be5f3580f7b9b52cad6633bb3a3cd13abafe.tar.xz
linux-de23be5f3580f7b9b52cad6633bb3a3cd13abafe.zip
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 <sfr@canb.auug.org.au> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/xen/mmu.c1
1 files changed, 1 insertions, 0 deletions
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)
{