diff options
author | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2011-04-20 11:54:10 -0400 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2011-04-20 11:56:57 -0400 |
commit | 8a91707d0a1a49193e23cb2d243632f2289feb24 (patch) | |
tree | 626a085aafc86ca7022768a085396dcf9ced8c17 /arch/x86/xen/p2m.c | |
parent | cf8d91633ddef9e816ccbf3da833c79ce508988d (diff) |
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 <konrad.wilk@oracle.com>
Diffstat (limited to 'arch/x86/xen/p2m.c')
-rw-r--r-- | arch/x86/xen/p2m.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/xen/p2m.c b/arch/x86/xen/p2m.c index 2d2b32af3a1d..c851397e657c 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) | |||
682 | 682 | ||
683 | return 0; | 683 | return 0; |
684 | } | 684 | } |
685 | 685 | EXPORT_SYMBOL_GPL(m2p_add_override); | |
686 | int m2p_remove_override(struct page *page, bool clear_pte) | 686 | int m2p_remove_override(struct page *page, bool clear_pte) |
687 | { | 687 | { |
688 | unsigned long flags; | 688 | unsigned long flags; |
@@ -719,6 +719,7 @@ int m2p_remove_override(struct page *page, bool clear_pte) | |||
719 | 719 | ||
720 | return 0; | 720 | return 0; |
721 | } | 721 | } |
722 | EXPORT_SYMBOL_GPL(m2p_remove_override); | ||
722 | 723 | ||
723 | struct page *m2p_find_override(unsigned long mfn) | 724 | struct page *m2p_find_override(unsigned long mfn) |
724 | { | 725 | { |