Skip to content

Commit

Permalink
sh64: Symbol export fixups.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Paul Mundt committed Oct 9, 2007
1 parent 3f7a0ce commit 7b523c9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions arch/sh64/kernel/sh_ksyms.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 7b523c9

Please sign in to comment.