]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
metag: export clear_page and copy_page
authorJames Hogan <james.hogan@imgtec.com>
Mon, 11 Feb 2013 11:47:02 +0000 (11:47 +0000)
committerJames Hogan <james.hogan@imgtec.com>
Sat, 2 Mar 2013 20:11:13 +0000 (20:11 +0000)
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>
arch/metag/kernel/metag_ksyms.c

index 3cc4d1d4b3222bdadb10b5a4631d1c0ae2cb9f6d..63606f8aa86ac0af642cd042330511a0e2d097fa 100644 (file)
@@ -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);