diff options
author | Zong Li <zongbox@gmail.com> | 2018-10-02 11:52:27 +0300 |
---|---|---|
committer | Palmer Dabbelt <palmer@sifive.com> | 2018-10-23 03:02:55 +0300 |
commit | 7f47c73b355f300cf162f3a664e43d557d2cb30d (patch) | |
tree | 2879e1b90b1020c7fa67f4857cd92972f7925349 /arch/riscv | |
parent | 84df9525b0c27f3ebc2ebb1864fa62a97fdedb7d (diff) | |
download | linux-7f47c73b355f300cf162f3a664e43d557d2cb30d.tar.xz |
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>
Diffstat (limited to 'arch/riscv')
-rw-r--r-- | arch/riscv/lib/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
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 |