Skip to content

Commit

Permalink
metag: export clear_page and copy_page
Browse files Browse the repository at this point in the history
Various file systems use clear_page() and copy_page(), so when they're
built as modules we get build errors like the following:

ERROR: "clear_page" [fs/ntfs/ntfs.ko] undefined!
ERROR: "copy_page" [fs/nilfs2/nilfs2.ko] undefined!

Therefore export these functions to modules from metag_ksyms.c to fix
the errors. This was hit by a randconfig build.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
  • Loading branch information
James Hogan committed Mar 2, 2013
1 parent f626dc7 commit c838e72
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/metag/kernel/metag_ksyms.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ EXPORT_SYMBOL(get_trigger_mask);
EXPORT_SYMBOL(global_trigger_mask);
#endif

EXPORT_SYMBOL(clear_page);
EXPORT_SYMBOL(copy_page);
EXPORT_SYMBOL(empty_zero_page);

EXPORT_SYMBOL(pfn_base);
Expand Down

0 comments on commit c838e72

Please sign in to comment.