From: Ingo Molnar Date: Mon, 2 Jun 2008 11:20:11 +0000 (+0200) Subject: xen: export get_phys_to_machine X-Git-Tag: firefly_0821_release~19697^2~253^24~13 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=15ce60056b24a65b65e28de973a9fd8ac0750a2f;p=firefly-linux-kernel-4.4.55.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) {