aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh64/kernel/sh_ksyms.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-10-09 02:55:40 -0400
committerPaul Mundt <lethal@linux-sh.org>2007-10-09 02:55:40 -0400
commit7b523c9e0886809a7dd100dd79e0a018c454da7a (patch)
treef45b8c06319791a90888530ce47ffb1d49aaf083 /arch/sh64/kernel/sh_ksyms.c
parent3f7a0ce3b7db6906275eff042c9562aa8baf8487 (diff)
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 <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh64/kernel/sh_ksyms.c')
-rw-r--r--arch/sh64/kernel/sh_ksyms.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/sh64/kernel/sh_ksyms.c b/arch/sh64/kernel/sh_ksyms.c
index 962c732961e4..b1705acc8e64 100644
--- a/arch/sh64/kernel/sh_ksyms.c
+++ b/arch/sh64/kernel/sh_ksyms.c
@@ -45,21 +45,17 @@ EXPORT_SYMBOL(__down_trylock);
45EXPORT_SYMBOL(__up); 45EXPORT_SYMBOL(__up);
46EXPORT_SYMBOL(__put_user_asm_l); 46EXPORT_SYMBOL(__put_user_asm_l);
47EXPORT_SYMBOL(__get_user_asm_l); 47EXPORT_SYMBOL(__get_user_asm_l);
48EXPORT_SYMBOL(__copy_user);
48EXPORT_SYMBOL(memcpy); 49EXPORT_SYMBOL(memcpy);
49
50EXPORT_SYMBOL(udelay); 50EXPORT_SYMBOL(udelay);
51EXPORT_SYMBOL(__udelay); 51EXPORT_SYMBOL(__udelay);
52EXPORT_SYMBOL(ndelay); 52EXPORT_SYMBOL(ndelay);
53EXPORT_SYMBOL(__ndelay); 53EXPORT_SYMBOL(__ndelay);
54EXPORT_SYMBOL(flush_dcache_page); 54EXPORT_SYMBOL(flush_dcache_page);
55
56/* For ext3 */
57EXPORT_SYMBOL(sh64_page_clear); 55EXPORT_SYMBOL(sh64_page_clear);
58 56
59/* Ugh. These come in from libgcc.a at link time. */ 57/* Ugh. These come in from libgcc.a at link time. */
60#define DECLARE_EXPORT(name) extern void name(void);EXPORT_SYMBOL(name) 58#define DECLARE_EXPORT(name) extern void name(void);EXPORT_SYMBOL(name)
61extern char __div_table;
62EXPORT_SYMBOL(__div_table);
63 59
64DECLARE_EXPORT(__sdivsi3); 60DECLARE_EXPORT(__sdivsi3);
65DECLARE_EXPORT(__muldi3); 61DECLARE_EXPORT(__muldi3);