]> Pileus Git - ~andy/linux/commitdiff
xen/p2m: Add EXPORT_SYMBOL_GPL to the M2P override functions.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 20 Apr 2011 15:54:10 +0000 (11:54 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 18 May 2011 20:00:01 +0000 (16:00 -0400)
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 <konrad.wilk@oracle.com>
arch/x86/xen/p2m.c

index 2d2b32af3a1dadbc5784a3452071e6dc08322856..c851397e657c3a944c7895d415ad008c07023b65 100644 (file)
@@ -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)
 {