Commit c9ce9e43 authored by Konrad Rzeszutek Wilk's avatar Konrad Rzeszutek Wilk

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: default avatarKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
parent d5431d52
...@@ -682,7 +682,7 @@ int m2p_add_override(unsigned long mfn, struct page *page, bool clear_pte) ...@@ -682,7 +682,7 @@ int m2p_add_override(unsigned long mfn, struct page *page, bool clear_pte)
return 0; return 0;
} }
EXPORT_SYMBOL_GPL(m2p_add_override);
int m2p_remove_override(struct page *page, bool clear_pte) int m2p_remove_override(struct page *page, bool clear_pte)
{ {
unsigned long flags; unsigned long flags;
...@@ -719,6 +719,7 @@ int m2p_remove_override(struct page *page, bool clear_pte) ...@@ -719,6 +719,7 @@ int m2p_remove_override(struct page *page, bool clear_pte)
return 0; return 0;
} }
EXPORT_SYMBOL_GPL(m2p_remove_override);
struct page *m2p_find_override(unsigned long mfn) struct page *m2p_find_override(unsigned long mfn)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment