sh64: Symbol export fixups.
Paul Mundt [Tue, 9 Oct 2007 06:55:40 +0000 (15:55 +0900)]
Kill off the __div_table reference, modern compilers don't have it,
and old compilers can't build the sh64 kernel anyways.

__copy_user also needs to be exported to satisfy module builds.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>

arch/sh64/kernel/sh_ksyms.c

index 962c732..b1705ac 100644 (file)
@@ -45,21 +45,17 @@ EXPORT_SYMBOL(__down_trylock);
 EXPORT_SYMBOL(__up);
 EXPORT_SYMBOL(__put_user_asm_l);
 EXPORT_SYMBOL(__get_user_asm_l);
+EXPORT_SYMBOL(__copy_user);
 EXPORT_SYMBOL(memcpy);
-
 EXPORT_SYMBOL(udelay);
 EXPORT_SYMBOL(__udelay);
 EXPORT_SYMBOL(ndelay);
 EXPORT_SYMBOL(__ndelay);
 EXPORT_SYMBOL(flush_dcache_page);
-
-/* For ext3 */
 EXPORT_SYMBOL(sh64_page_clear);
 
 /* Ugh.  These come in from libgcc.a at link time. */
 #define DECLARE_EXPORT(name) extern void name(void);EXPORT_SYMBOL(name)
-extern char __div_table;
-EXPORT_SYMBOL(__div_table);
 
 DECLARE_EXPORT(__sdivsi3);
 DECLARE_EXPORT(__muldi3);