projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3632ef8
)
xen: export arbitrary_virt_to_machine
author
Stephen Rothwell
<sfr@canb.auug.org.au>
Fri, 14 Jan 2011 23:36:26 +0000
(10:36 +1100)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Sat, 15 Jan 2011 00:11:12 +0000
(16:11 -0800)
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>
arch/x86/xen/mmu.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/xen/mmu.c
b/arch/x86/xen/mmu.c
index 7575e55cd52e4b453f4d53c1010cba73cb72083c..5e92b61ad574dd6514f09644737dd450d0311dd0 100644
(file)
--- 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)
{