Skip to content

Commit 81a48ee

Browse files
RISC-V: Remove udivdi3
This should never have landed in the first place: it was added as part of 64-bit divide support for 32-bit systems, but the kernel doesn't allow this sort of division. I must have forgotten to remove it. This patch removes the support. Since this routine only worked on 64-bit platforms but was only built on 32-bit platforms, it's essentially just nonsense anyway. Signed-off-by: Palmer Dabbelt <[email protected]> Acked-by: Nicolas Pitre <[email protected]> Link: https://lore.kernel.org/linux-riscv/[email protected]/T/#t Reported-by: Eric Lin <[email protected]> Signed-off-by: Paul Walmsley <[email protected]>
1 parent 66cc016 commit 81a48ee

File tree

2 files changed

+0
-34
lines changed

2 files changed

+0
-34
lines changed

arch/riscv/lib/Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,3 @@ lib-y += memset.o
55
lib-y += uaccess.o
66

77
lib-$(CONFIG_64BIT) += tishift.o
8-
9-
lib-$(CONFIG_32BIT) += udivdi3.o

arch/riscv/lib/udivdi3.S

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

0 commit comments

Comments
 (0)