Skip to content

Commit

Permalink
lib: Remove umoddi3 and udivmoddi4
Browse files Browse the repository at this point in the history
These were only necessary for an out-of-tree driver that has since been
fixed to use the proper divide routines.  I've simply reverted the pair
of commits we made last week.

Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
  • Loading branch information
Palmer Dabbelt committed Oct 31, 2018
2 parents 9b4789e + 0ef08ca commit ef70696
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 347 deletions.
1 change: 0 additions & 1 deletion arch/riscv/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ config ARCH_RV32I
select GENERIC_LIB_ASHRDI3
select GENERIC_LIB_LSHRDI3
select GENERIC_LIB_UCMPDI2
select GENERIC_LIB_UMODDI3

config ARCH_RV64I
bool "RV64I"
Expand Down
3 changes: 0 additions & 3 deletions lib/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -621,6 +621,3 @@ config GENERIC_LIB_CMPDI2

config GENERIC_LIB_UCMPDI2
bool

config GENERIC_LIB_UMODDI3
bool
1 change: 0 additions & 1 deletion lib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -270,4 +270,3 @@ obj-$(CONFIG_GENERIC_LIB_LSHRDI3) += lshrdi3.o
obj-$(CONFIG_GENERIC_LIB_MULDI3) += muldi3.o
obj-$(CONFIG_GENERIC_LIB_CMPDI2) += cmpdi2.o
obj-$(CONFIG_GENERIC_LIB_UCMPDI2) += ucmpdi2.o
obj-$(CONFIG_GENERIC_LIB_UMODDI3) += umoddi3.o udivmoddi4.o
310 changes: 0 additions & 310 deletions lib/udivmoddi4.c

This file was deleted.

32 changes: 0 additions & 32 deletions lib/umoddi3.c

This file was deleted.

0 comments on commit ef70696

Please sign in to comment.