Skip to content

Commit ef70696

Browse files
lib: Remove umoddi3 and udivmoddi4
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>
2 parents 9b4789e + 0ef08ca commit ef70696

File tree

5 files changed

+0
-347
lines changed

5 files changed

+0
-347
lines changed

arch/riscv/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ config ARCH_RV32I
109109
select GENERIC_LIB_ASHRDI3
110110
select GENERIC_LIB_LSHRDI3
111111
select GENERIC_LIB_UCMPDI2
112-
select GENERIC_LIB_UMODDI3
113112

114113
config ARCH_RV64I
115114
bool "RV64I"

lib/Kconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -621,6 +621,3 @@ config GENERIC_LIB_CMPDI2
621621

622622
config GENERIC_LIB_UCMPDI2
623623
bool
624-
625-
config GENERIC_LIB_UMODDI3
626-
bool

lib/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,4 +270,3 @@ obj-$(CONFIG_GENERIC_LIB_LSHRDI3) += lshrdi3.o
270270
obj-$(CONFIG_GENERIC_LIB_MULDI3) += muldi3.o
271271
obj-$(CONFIG_GENERIC_LIB_CMPDI2) += cmpdi2.o
272272
obj-$(CONFIG_GENERIC_LIB_UCMPDI2) += ucmpdi2.o
273-
obj-$(CONFIG_GENERIC_LIB_UMODDI3) += umoddi3.o udivmoddi4.o

lib/udivmoddi4.c

Lines changed: 0 additions & 310 deletions
This file was deleted.

lib/umoddi3.c

Lines changed: 0 additions & 32 deletions
This file was deleted.

0 commit comments

Comments
 (0)