From: Ingo Molnar Date: Mon, 2 Jun 2008 11:20:11 +0000 (+0200) Subject: xen: export get_phys_to_machine X-Git-Tag: v2.6.27-rc1~1106^2~251^24~13 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=15ce60056b24a65b65e28de973a9fd8ac0750a2f;p=karo-tx-linux.git xen: export get_phys_to_machine -tip testing found the following xen-console symbols trouble: ERROR: "get_phys_to_machine" [drivers/video/xen-fbfront.ko] undefined! ERROR: "get_phys_to_machine" [drivers/net/xen-netfront.ko] undefined! ERROR: "get_phys_to_machine" [drivers/input/xen-kbdfront.ko] undefined! with: http://redhat.com/~mingo/misc/config-Mon_Jun__2_12_25_13_CEST_2008.bad --- diff --git a/arch/x86/xen/mmu.c b/arch/x86/xen/mmu.c index eef3b5c6e2fe..17f374eb1faa 100644 --- a/arch/x86/xen/mmu.c +++ b/arch/x86/xen/mmu.c @@ -136,6 +136,7 @@ unsigned long get_phys_to_machine(unsigned long pfn) idx = p2m_index(pfn); return p2m_top[topidx][idx]; } +EXPORT_SYMBOL_GPL(get_phys_to_machine); static void alloc_p2m(unsigned long **pp, unsigned long *mfnp) {