[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <b87900141b3ee65e639bb8a0278a2acd7fced103.1538535528.git.zongbox@gmail.com>
Date: Wed, 3 Oct 2018 11:10:01 +0800
From: Zong Li <zongbox@...il.com>
To: palmer@...ive.com, aou@...s.berkeley.edu
Cc: hch@...radead.org, zong@...estech.com,
linux-riscv@...ts.infradead.org, linux-kernel@...r.kernel.org,
Zong Li <zongbox@...il.com>
Subject: [PATCH v4 4/5] RISC-V: Select GENERIC_LIB_UMODDI3 on RV32
On RV32, it will use the __umoddi3. Select GENERIC_LIB_UMODDI3 to avoid
undefined reference.
Signed-off-by: Zong Li <zong@...estech.com>
---
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
Powered by blists - more mailing lists