Skip to content

Commit

Permalink
RISC-V: Select GENERIC_LIB_UMODDI3 on RV32
Browse files Browse the repository at this point in the history
On 32-bit, it need to use __umoddi3 by some drivers.

Signed-off-by: Zong Li <zong@andestech.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
  • Loading branch information
Zong Li authored and Palmer Dabbelt committed Oct 23, 2018
1 parent 6315730 commit 757331d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/riscv/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 757331d

Please sign in to comment.