From: Zong Li Date: Tue, 2 Oct 2018 08:52:27 +0000 (+0800) Subject: RISC-V: Build tishift only on 64-bit X-Git-Tag: v4.20-rc1~42^2~4^2~4 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=7f47c73b355f300cf162f3a664e43d557d2cb30d;p=linux-block.git RISC-V: Build tishift only on 64-bit Only RV64 supports 128 integer size. Signed-off-by: Zong Li Reviewed-by: Christoph Hellwig Signed-off-by: Palmer Dabbelt --- diff --git a/arch/riscv/lib/Makefile b/arch/riscv/lib/Makefile index 445ec84f9a47..5739bd05d289 100644 --- a/arch/riscv/lib/Makefile +++ b/arch/riscv/lib/Makefile @@ -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