Skip to content

Commit 8f79125

Browse files
Zong Lipalmer-dabbelt
authored andcommitted
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>
1 parent d5fad48 commit 8f79125

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎arch/riscv/Kconfig‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ config ARCH_RV32I
107107
select GENERIC_LIB_ASHLDI3
108108
select GENERIC_LIB_ASHRDI3
109109
select GENERIC_LIB_LSHRDI3
110+
select GENERIC_LIB_UCMPDI2
110111

111112
config ARCH_RV64I
112113
bool "RV64I"

0 commit comments

Comments
 (0)