From: James Hogan Date: Mon, 11 Feb 2013 11:47:02 +0000 (+0000) Subject: metag: export clear_page and copy_page X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c838e72a35e49ea51c39c2c634ece028fa49c565;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 --- diff --git a/arch/metag/kernel/metag_ksyms.c b/arch/metag/kernel/metag_ksyms.c index 3cc4d1d4b322..63606f8aa86a 100644 --- a/arch/metag/kernel/metag_ksyms.c +++ b/arch/metag/kernel/metag_ksyms.c @@ -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);