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 <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Palmer Dabbelt <[email protected]>
1 parent d5fad48 commit 8f79125

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)