From: Konrad Rzeszutek Wilk Date: Wed, 20 Apr 2011 15:54:10 +0000 (-0400) Subject: xen/p2m: Add EXPORT_SYMBOL_GPL to the M2P override functions. X-Git-Tag: v3.0-rc1~415^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8a91707d0a1a49193e23cb2d243632f2289feb24;p=profile%2Fivi%2Fkernel-x86-ivi.git xen/p2m: Add EXPORT_SYMBOL_GPL to the M2P override functions. If the backends, which use these two functions, are compiled as a module we need these two functions to be exported. Signed-off-by: Konrad Rzeszutek Wilk --- diff --git a/arch/x86/xen/p2m.c b/arch/x86/xen/p2m.c index 2d2b32a..c851397 100644 --- a/arch/x86/xen/p2m.c +++ b/arch/x86/xen/p2m.c @@ -682,7 +682,7 @@ int m2p_add_override(unsigned long mfn, struct page *page, bool clear_pte) return 0; } - +EXPORT_SYMBOL_GPL(m2p_add_override); int m2p_remove_override(struct page *page, bool clear_pte) { unsigned long flags; @@ -719,6 +719,7 @@ int m2p_remove_override(struct page *page, bool clear_pte) return 0; } +EXPORT_SYMBOL_GPL(m2p_remove_override); struct page *m2p_find_override(unsigned long mfn) {