Commit 7b523c9e authored by Paul Mundt's avatar Paul Mundt
Browse files

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: default avatarPaul Mundt <lethal@linux-sh.org>
parent 3f7a0ce3
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -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);