From: Zong Li <zongbox@gmail.com> To: palmer@sifive.com, aou@eecs.berkeley.edu Cc: vincentc@andestech.com, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, zong@andestech.com, Zong Li <zongbox@gmail.com> Subject: [PATCH 1/5] RISC-V: Build tishift only on 64-bit Date: Tue, 18 Sep 2018 17:19:13 +0800 [thread overview] Message-ID: <40c77db9ee2d23479ff90f2658539d29d7a30896.1537260207.git.zongbox@gmail.com> (raw) In-Reply-To: <cover.1537260207.git.zongbox@gmail.com> Only RV64 supports 128 integer size. Signed-off-by: Zong Li <zong@andestech.com> --- arch/riscv/lib/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/riscv/lib/Makefile b/arch/riscv/lib/Makefile index 445ec84..5739bd0 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 -- 2.7.4
WARNING: multiple messages have this Message-ID (diff)
From: zongbox@gmail.com (Zong Li) To: linux-riscv@lists.infradead.org Subject: [PATCH 1/5] RISC-V: Build tishift only on 64-bit Date: Tue, 18 Sep 2018 17:19:13 +0800 [thread overview] Message-ID: <40c77db9ee2d23479ff90f2658539d29d7a30896.1537260207.git.zongbox@gmail.com> (raw) In-Reply-To: <cover.1537260207.git.zongbox@gmail.com> Only RV64 supports 128 integer size. Signed-off-by: Zong Li <zong@andestech.com> --- arch/riscv/lib/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/riscv/lib/Makefile b/arch/riscv/lib/Makefile index 445ec84..5739bd0 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 -- 2.7.4
next prev parent reply other threads:[~2018-09-18 9:20 UTC|newest] Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top 2018-09-18 9:19 [PATCH 0/5] Fix some bugs on RV32 build fail and issue Zong Li 2018-09-18 9:19 ` Zong Li 2018-09-18 9:19 ` Zong Li [this message] 2018-09-18 9:19 ` [PATCH 1/5] RISC-V: Build tishift only on 64-bit Zong Li 2018-09-21 6:58 ` Christoph Hellwig 2018-09-21 6:58 ` Christoph Hellwig 2018-09-25 2:33 ` Zong Li 2018-09-25 2:33 ` Zong Li 2018-09-25 2:33 ` Zong Li 2018-09-18 9:19 ` [PATCH 2/5] RISC-V: Use swiotlb on RV64 only Zong Li 2018-09-18 9:19 ` Zong Li 2018-09-21 6:59 ` Christoph Hellwig 2018-09-21 6:59 ` Christoph Hellwig 2018-09-18 9:19 ` [PATCH 3/5] lib: Add umoddi3 and udivmoddi4 of GCC library routines Zong Li 2018-09-18 9:19 ` Zong Li 2018-09-21 7:00 ` Christoph Hellwig 2018-09-21 7:00 ` Christoph Hellwig 2018-09-25 2:19 ` Zong Li 2018-09-25 2:19 ` Zong Li 2018-09-25 2:19 ` Zong Li 2018-09-25 7:20 ` Andreas Schwab 2018-09-25 7:20 ` Andreas Schwab 2018-09-25 7:20 ` Andreas Schwab 2018-09-26 7:12 ` Zong Li 2018-09-26 7:12 ` Zong Li 2018-09-26 7:12 ` Zong Li 2018-09-25 15:25 ` Christoph Hellwig 2018-09-25 15:25 ` Christoph Hellwig 2018-09-25 15:25 ` Christoph Hellwig 2018-09-26 2:40 ` Zong Li 2018-09-26 2:40 ` Zong Li 2018-09-26 2:40 ` Zong Li 2018-09-18 9:19 ` [PATCH 4/5] RISC-V: Select GENERIC_LIB_UMODDI3 on RV32 Zong Li 2018-09-18 9:19 ` Zong Li 2018-09-18 9:19 ` [PATCH 5/5] RISC-V: Avoid corrupting the upper 32-bit of phys_addr_t in ioremap Zong Li 2018-09-18 9:19 ` Zong Li 2018-09-21 7:00 ` Christoph Hellwig 2018-09-21 7:00 ` Christoph Hellwig
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=40c77db9ee2d23479ff90f2658539d29d7a30896.1537260207.git.zongbox@gmail.com \ --to=zongbox@gmail.com \ --cc=aou@eecs.berkeley.edu \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-riscv@lists.infradead.org \ --cc=palmer@sifive.com \ --cc=vincentc@andestech.com \ --cc=zong@andestech.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.