2018-10-02 09:00:09

by Zong Li

[permalink] [raw]
Subject: [PATCH v3 4/5] RISC-V: Select GENERIC_LIB_UMODDI3 on RV32

On 32-bit, it need to use __umoddi3 by some drivers.

Signed-off-by: Zong Li <[email protected]>
---
arch/riscv/Kconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index a344980..dc262fa 100644
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@ -108,6 +108,7 @@ config ARCH_RV32I
select GENERIC_LIB_ASHRDI3
select GENERIC_LIB_LSHRDI3
select GENERIC_LIB_UCMPDI2
+ select GENERIC_LIB_UMODDI3

config ARCH_RV64I
bool "RV64I"
--
2.7.4



2018-10-02 14:51:24

by Christoph Hellwig

[permalink] [raw]
Subject: Re: [PATCH v3 4/5] RISC-V: Select GENERIC_LIB_UMODDI3 on RV32

On Tue, Oct 02, 2018 at 04:52:30PM +0800, Zong Li wrote:
> On 32-bit, it need to use __umoddi3 by some drivers.
>
> Signed-off-by: Zong Li <[email protected]>

Which drivers?