aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/xen
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2011-01-14 18:36:26 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2011-01-14 19:11:12 -0500
commitde23be5f3580f7b9b52cad6633bb3a3cd13abafe (patch)
treee9edf155c524878a058737dd04ec4eccafa0a16d /arch/x86/xen
parent3632ef8909118db9584e1bed9538dc180adb32f8 (diff)
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/xen')
-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)
201 offset = address & ~PAGE_MASK; 201 offset = address & ~PAGE_MASK;
202 return XMADDR(((phys_addr_t)pte_mfn(*pte) << PAGE_SHIFT) + offset); 202 return XMADDR(((phys_addr_t)pte_mfn(*pte) << PAGE_SHIFT) + offset);
203} 203}
204EXPORT_SYMBOL_GPL(arbitrary_virt_to_machine);
204 205
205void make_lowmem_page_readonly(void *vaddr) 206void make_lowmem_page_readonly(void *vaddr)
206{ 207{