RISC-V: Remove udivdi3
authorPalmer Dabbelt <palmer@sifive.com>
Wed, 7 Aug 2019 00:05:08 +0000 (17:05 -0700)
committerPaul Walmsley <paul.walmsley@sifive.com>
Thu, 8 Aug 2019 23:05:38 +0000 (16:05 -0700)
commit81a48ee417387bef9cb720ca75980ee11ae9c901
treefc7055fa360d63d43b81e7417385ca6281106a09
parent66cc016ab7c780d53450fd1648010da02ddf2770
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>
arch/riscv/lib/Makefile
arch/riscv/lib/udivdi3.S [deleted file]