]> err.no Git - linux-2.6/commitdiff
[POWERPC] Export empty_zero_page and copy_page in arch/ppc
authorTony Breeds <tony@bakeyournoodle.com>
Wed, 28 May 2008 00:52:19 +0000 (10:52 +1000)
committerPaul Mackerras <paulus@samba.org>
Sat, 31 May 2008 07:08:28 +0000 (17:08 +1000)
Currently ext4 and fuse fail to link if modular:
ERROR: "copy_page" [fs/fuse/fuse.ko] undefined!
ERROR: "empty_zero_page" [fs/ext4/ext4dev.ko] undefined!
make[3]: *** [__modpost] Error 1
make[2]: *** [modules] Error 2
make[1]: *** [sub-make] Error 2

While arch ppc exists it may as well compile, so this exports those
symbols (which are already exported in arch/powerpc).

Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/ppc/kernel/ppc_ksyms.c

index 602c268fc8a2875ae55f5c51ddbbf59f510d4838..5d529bcbeee920d60724af074968d75309586188 100644 (file)
@@ -60,8 +60,10 @@ long long __ashrdi3(long long, int);
 long long __ashldi3(long long, int);
 long long __lshrdi3(long long, int);
 
+EXPORT_SYMBOL(empty_zero_page);
 EXPORT_SYMBOL(clear_pages);
 EXPORT_SYMBOL(clear_user_page);
+EXPORT_SYMBOL(copy_page);
 EXPORT_SYMBOL(transfer_to_handler);
 EXPORT_SYMBOL(do_IRQ);
 EXPORT_SYMBOL(machine_check_exception);