projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6315730
)
RISC-V: Select GENERIC_LIB_UMODDI3 on RV32
author
Zong Li
<zongbox@gmail.com>
Tue, 2 Oct 2018 08:52:30 +0000
(16:52 +0800)
committer
Palmer Dabbelt
<palmer@sifive.com>
Tue, 23 Oct 2018 00:02:56 +0000
(17:02 -0700)
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>
arch/riscv/Kconfig
patch
|
blob
|
history
diff --git
a/arch/riscv/Kconfig
b/arch/riscv/Kconfig
index a344980287a519eec038d553c8ae4d0f82add8e3..dc262fa0417be50d797f7eb52fdb196932afcd0f 100644
(file)
--- 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"