diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-10-09 02:55:40 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2007-10-09 02:55:40 -0400 |
commit | 7b523c9e0886809a7dd100dd79e0a018c454da7a (patch) | |
tree | f45b8c06319791a90888530ce47ffb1d49aaf083 | |
parent | 3f7a0ce3b7db6906275eff042c9562aa8baf8487 (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>
-rw-r--r-- | arch/sh64/kernel/sh_ksyms.c | 6 |
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); | |||
45 | EXPORT_SYMBOL(__up); | 45 | EXPORT_SYMBOL(__up); |
46 | EXPORT_SYMBOL(__put_user_asm_l); | 46 | EXPORT_SYMBOL(__put_user_asm_l); |
47 | EXPORT_SYMBOL(__get_user_asm_l); | 47 | EXPORT_SYMBOL(__get_user_asm_l); |
48 | EXPORT_SYMBOL(__copy_user); | ||
48 | EXPORT_SYMBOL(memcpy); | 49 | EXPORT_SYMBOL(memcpy); |
49 | |||
50 | EXPORT_SYMBOL(udelay); | 50 | EXPORT_SYMBOL(udelay); |
51 | EXPORT_SYMBOL(__udelay); | 51 | EXPORT_SYMBOL(__udelay); |
52 | EXPORT_SYMBOL(ndelay); | 52 | EXPORT_SYMBOL(ndelay); |
53 | EXPORT_SYMBOL(__ndelay); | 53 | EXPORT_SYMBOL(__ndelay); |
54 | EXPORT_SYMBOL(flush_dcache_page); | 54 | EXPORT_SYMBOL(flush_dcache_page); |
55 | |||
56 | /* For ext3 */ | ||
57 | EXPORT_SYMBOL(sh64_page_clear); | 55 | EXPORT_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) |
61 | extern char __div_table; | ||
62 | EXPORT_SYMBOL(__div_table); | ||
63 | 59 | ||
64 | DECLARE_EXPORT(__sdivsi3); | 60 | DECLARE_EXPORT(__sdivsi3); |
65 | DECLARE_EXPORT(__muldi3); | 61 | DECLARE_EXPORT(__muldi3); |