Skip to content

Commit 7f47c73

Browse files
zongboxpalmer-dabbelt
authored andcommitted
RISC-V: Build tishift only on 64-bit
Only RV64 supports 128 integer size. 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 84df952 commit 7f47c73

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

arch/riscv/lib/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ lib-y += delay.o
22
lib-y += memcpy.o
33
lib-y += memset.o
44
lib-y += uaccess.o
5-
lib-y += tishift.o
5+
6+
lib-(CONFIG_64BIT) += tishift.o
67

78
lib-$(CONFIG_32BIT) += udivdi3.o

0 commit comments

Comments
 (0)