From 7b523c9e0886809a7dd100dd79e0a018c454da7a Mon Sep 17 00:00:00 2001 From: Paul Mundt Date: Tue, 9 Oct 2007 15:55:40 +0900 Subject: [PATCH] sh64: Symbol export fixups. 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 --- arch/sh64/kernel/sh_ksyms.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/arch/sh64/kernel/sh_ksyms.c b/arch/sh64/kernel/sh_ksyms.c index 962c732961..b1705acc8e 100644 --- a/arch/sh64/kernel/sh_ksyms.c +++ b/arch/sh64/kernel/sh_ksyms.c @@ -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); -- 2.39.5