Skip to content

Commit

Permalink
xen/p2m: Add EXPORT_SYMBOL_GPL to the M2P override functions.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Konrad Rzeszutek Wilk committed May 18, 2011
1 parent d5431d5 commit c9ce9e4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/x86/xen/p2m.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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)
{
Expand Down

0 comments on commit c9ce9e4

Please sign in to comment.