aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Hogan2013-02-11 05:47:02 -0600
committerJames Hogan2013-03-02 14:11:13 -0600
commitc838e72a35e49ea51c39c2c634ece028fa49c565 (patch)
tree1fdd87314187b1e2e1f429d803154f0ecc0f75f0 /arch/metag
parentf626dc704e761761b37efbb6320308461f159375 (diff)
downloadam43-linux-kernel-c838e72a35e49ea51c39c2c634ece028fa49c565.tar.gz
am43-linux-kernel-c838e72a35e49ea51c39c2c634ece028fa49c565.tar.xz
am43-linux-kernel-c838e72a35e49ea51c39c2c634ece028fa49c565.zip
metag: export clear_page and copy_page
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>
Diffstat (limited to 'arch/metag')
-rw-r--r--arch/metag/kernel/metag_ksyms.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/metag/kernel/metag_ksyms.c b/arch/metag/kernel/metag_ksyms.c
index 3cc4d1d4b32..63606f8aa86 100644
--- a/arch/metag/kernel/metag_ksyms.c
+++ b/arch/metag/kernel/metag_ksyms.c
@@ -37,6 +37,8 @@ EXPORT_SYMBOL(get_trigger_mask);
37EXPORT_SYMBOL(global_trigger_mask); 37EXPORT_SYMBOL(global_trigger_mask);
38#endif 38#endif
39 39
40EXPORT_SYMBOL(clear_page);
41EXPORT_SYMBOL(copy_page);
40EXPORT_SYMBOL(empty_zero_page); 42EXPORT_SYMBOL(empty_zero_page);
41 43
42EXPORT_SYMBOL(pfn_base); 44EXPORT_SYMBOL(pfn_base);