summaryrefslogtreecommitdiffstats
path: root/arch/riscv
diff options
context:
space:
mode:
authorZong Li <zong@andestech.com>2018-06-25 10:49:38 +0200
committerPalmer Dabbelt <palmer@sifive.com>2018-07-04 22:53:33 +0200
commit8f79125d285d2d71ed110e875754942256efa51d (patch)
treeb668697c4680007ad9781e1ac6094495a5d9d625 /arch/riscv
parentRISC-V: Add conditional macro for zone of DMA32 (diff)
downloadlinux-8f79125d285d2d71ed110e875754942256efa51d.tar.xz
linux-8f79125d285d2d71ed110e875754942256efa51d.zip
RISC-V: Select GENERIC_UCMPDI2 on RV32I
On 32-bit, it need to use __ucmpdi2, otherwise, it can't find the __ucmpdi2 symbol. Signed-off-by: Zong Li <zong@andestech.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
Diffstat (limited to 'arch/riscv')
-rw-r--r--arch/riscv/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index f12680c9b947..4764fdeb4f1f 100644
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@ -107,6 +107,7 @@ config ARCH_RV32I
select GENERIC_LIB_ASHLDI3
select GENERIC_LIB_ASHRDI3
select GENERIC_LIB_LSHRDI3
+ select GENERIC_LIB_UCMPDI2
config ARCH_RV64I
bool "RV64I"