Skip to content

Commit

Permalink
sh: Kill off udivdi3 div64_32 wrapping.
Browse files Browse the repository at this point in the history
Previously we've been handling udivdi3 references and wrapping
them in to div64_32() automatically. This doesn't get a lot of
use, however, and as akpm noted in the recent thread on l-k:

	http://lkml.org/lkml/2007/2/27/241

we're better off simply ripping it out and going the do_div()
route if there happen to be any places that need it.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Paul Mundt authored and Paul Mundt committed May 7, 2007
1 parent 0106662 commit cdf50b2
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 20 deletions.
1 change: 0 additions & 1 deletion arch/sh/kernel/sh_ksyms.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ EXPORT_SYMBOL(__div64_32);

/* These symbols are generated by the compiler itself */
DECLARE_EXPORT(__udivsi3);
DECLARE_EXPORT(__udivdi3);
DECLARE_EXPORT(__sdivsi3);
DECLARE_EXPORT(__ashrdi3);
DECLARE_EXPORT(__ashldi3);
Expand Down
4 changes: 1 addition & 3 deletions arch/sh/lib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@
#

lib-y = delay.o memset.o memmove.o memchr.o \
checksum.o strlen.o div64.o udivdi3.o \
div64-generic.o
checksum.o strlen.o div64.o div64-generic.o

memcpy-y := memcpy.o
memcpy-$(CONFIG_CPU_SH4) := memcpy-sh4.o

lib-y += $(memcpy-y)

16 changes: 0 additions & 16 deletions arch/sh/lib/udivdi3.c

This file was deleted.

0 comments on commit cdf50b2

Please sign in to comment.