diff options
author | Palmer Dabbelt <palmer@sifive.com> | 2019-08-07 02:05:08 +0200 |
---|---|---|
committer | Paul Walmsley <paul.walmsley@sifive.com> | 2019-08-09 01:05:38 +0200 |
commit | 81a48ee417387bef9cb720ca75980ee11ae9c901 (patch) | |
tree | fc7055fa360d63d43b81e7417385ca6281106a09 /arch/riscv/lib/Makefile | |
parent | riscv: delay: use do_div() instead of __udivdi3() (diff) | |
download | linux-81a48ee417387bef9cb720ca75980ee11ae9c901.tar.xz linux-81a48ee417387bef9cb720ca75980ee11ae9c901.zip |
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 <palmer@sifive.com>
Acked-by: Nicolas Pitre <nico@fluxnic.net>
Link: https://lore.kernel.org/linux-riscv/nycvar.YSQ.7.76.1908061413360.19480@knanqh.ubzr/T/#t
Reported-by: Eric Lin <tesheng@andestech.com>
Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>
Diffstat (limited to 'arch/riscv/lib/Makefile')
-rw-r--r-- | arch/riscv/lib/Makefile | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/riscv/lib/Makefile b/arch/riscv/lib/Makefile index 8e364ebf37de..267feaa10f6a 100644 --- a/arch/riscv/lib/Makefile +++ b/arch/riscv/lib/Makefile @@ -5,5 +5,3 @@ lib-y += memset.o lib-y += uaccess.o lib-$(CONFIG_64BIT) += tishift.o - -lib-$(CONFIG_32BIT) += udivdi3.o |