diff options
author | Zong Li <zongbox@gmail.com> | 2018-10-02 10:52:30 +0200 |
---|---|---|
committer | Palmer Dabbelt <palmer@sifive.com> | 2018-10-23 02:02:56 +0200 |
commit | 757331db921428295948fed5e7377a436e66d34e (patch) | |
tree | e27876e4729d810df999bd146361e2be927783d6 /arch/riscv | |
parent | lib: Add umoddi3 and udivmoddi4 of GCC library routines (diff) | |
download | linux-757331db921428295948fed5e7377a436e66d34e.tar.xz linux-757331db921428295948fed5e7377a436e66d34e.zip |
RISC-V: Select GENERIC_LIB_UMODDI3 on RV32
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>
Diffstat (limited to 'arch/riscv')
-rw-r--r-- | arch/riscv/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index a344980287a5..dc262fa0417b 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" |