Skip to content

Commit

Permalink
RISC-V: Build tishift only on 64-bit
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Zong Li authored and Palmer Dabbelt committed Oct 23, 2018
1 parent 84df952 commit 7f47c73
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/riscv/lib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ lib-y += delay.o
lib-y += memcpy.o
lib-y += memset.o
lib-y += uaccess.o
lib-y += tishift.o

lib-(CONFIG_64BIT) += tishift.o

lib-$(CONFIG_32BIT) += udivdi3.o

0 comments on commit 7f47c73

Please sign in to comment.