Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp2063697imm; Tue, 2 Oct 2018 20:15:54 -0700 (PDT) X-Google-Smtp-Source: ACcGV606Bdzoz8yfhYkM8uwFM/PC755uTzRnpYH2M38PmZzbGWAHNA5tEK78g4uTHhVCuP8Zz/7y X-Received: by 2002:a63:e5e:: with SMTP id 30-v6mr16973965pgo.320.1538536554444; Tue, 02 Oct 2018 20:15:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538536554; cv=none; d=google.com; s=arc-20160816; b=GTfIzTjhLTQlWYzXKKJP76AA2QGjH9mjRpDLneUDBwn8KU+P5DDAHwFhM967ppzPeO hBPEZkM0sEqptPNDqdpvEIWmq5/xDsBivouX5+40R4xA2gDEa3mix9WwA7yuk4uzC68T H6UNYpKW4D1UlEFCRCLHIYIZTrmdWn9ybjwV8ELrQIH6C5s373oP0RHJcWUVc1t1nMbc Bxba7W7hOwNY08zl10uKtANssCzrggKnKhWDyScQ1VyB/jFH5iVHppIdTW6b8qCGlli3 epNQFiQ2DBKlQXoVg17Fg/713f0Q95gCJMB+3ERLBUtXCq+DND4hbofzG+X4hcKSN3A7 kc9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=Ul55wigUjE4to1TohXKcjf7rrHR2DeP0tn9CFO87rmQ=; b=Hsrp7u0PSwxoWxXEfxSOXA9rume/a26of6+IkptgQWoT/tzt9PfWIFU4bjIII9iHsv LHkjTo0r+bn3nyIsP0HGn0IB6P2Rt1A3eKwHkEu3PT4z7BLuR7UTsu2+R4/Rx8zoCgjA xyyeB4tCjTvX8X5Fwjzp4HUDe/ID2TKclZqQJr9SrQJTc6RBMYai1cpFa29snHg1mDx9 h+UbnXIcd3RErUFRF0Wi84NCLvX33tnuFC8tS8s+cDZq33okhnP+HpoRCPccPp3A6ya5 Rd43MEdRcMFenh/URA4+GQf1Gi/mB2uNIbuQvaFKoinLEB/GFeCUoa8XrYHGfip+eqqH SscA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ozkGzWC1; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d39-v6si16503pla.41.2018.10.02.20.15.39; Tue, 02 Oct 2018 20:15:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ozkGzWC1; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726692AbeJCJ7I (ORCPT + 99 others); Wed, 3 Oct 2018 05:59:08 -0400 Received: from mail-pl1-f194.google.com ([209.85.214.194]:41327 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726162AbeJCJ7H (ORCPT ); Wed, 3 Oct 2018 05:59:07 -0400 Received: by mail-pl1-f194.google.com with SMTP id q17-v6so2707761plr.8 for ; Tue, 02 Oct 2018 20:12:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Ul55wigUjE4to1TohXKcjf7rrHR2DeP0tn9CFO87rmQ=; b=ozkGzWC1BS/YfjLwcS6q3JARNRWaHL6yjlm4R3ayBowh6ZlDwa1ZBvqq6jXSGo79CO 0eOOUIcz2M8LnamirEJORIag5ip8ElyW3/6fpmQa6D5q1wx9DS8VpFQ+tgrI/7w1mdtn 3zwyu3yEk7JldyPEMu/d1c2Fx/D25CEPQ1eBpklu58o7hQUZL6GjH0RSr/t131djvtTY N8q7wbs6MwJxlgSbS4C0Vx5hK0fKd0yxbe+tIY6zPMOMcb0EsqHFCDnjLya8RrlnVWZr Ln/g3teDqx7ZPgHvZEMGDf683wIRwJgdfGE1Cfi5XB+UMnSa8VSOW4IMIG3K3+RJFlip 9acQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Ul55wigUjE4to1TohXKcjf7rrHR2DeP0tn9CFO87rmQ=; b=H8FRqVKARkFtaqImZuZxGnWvvG4gx8MtZiEKsZCRln5Idn+az6eGX9my7ppfQqB7Bx gEluA7/QQp2rp6b71vEK3a523pRNkAwLBu9LJyfSOfdFltkwbklcA3uUpHRyMnWe2zSJ pDK+whRuxBgcA3GLHPsEkkhGlsLucAuFaCR5LoxQgo15/B4bjaFF+FwgacrprGOmgN6T re9Ue9sS1v1C4z1zY/zASkONFJ2Yoc+m3tsbwgQ7a3bMS+PkGEjbS+ymFy92RVg5jfDt 4X2DxXtYtNpObsSM480esH4eMo7k9Zo+5XaB8bmypvPTR7hmYNfbrcCxxwigCH2SLm9p 0U+Q== X-Gm-Message-State: ABuFfogRW3I0miuanQEK9P5/Rd+fsOr18/uQV5Mlv1zEDCM85Rl36tDw h16KVDyvAMlD5KkJ0+pCr3w= X-Received: by 2002:a17:902:209:: with SMTP id 9-v6mr19472163plc.270.1538536361445; Tue, 02 Oct 2018 20:12:41 -0700 (PDT) Received: from app09.andestech.com (59-120-53-16.HINET-IP.hinet.net. [59.120.53.16]) by smtp.gmail.com with ESMTPSA id v23-v6sm21777747pfm.80.2018.10.02.20.12.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 02 Oct 2018 20:12:40 -0700 (PDT) From: Zong Li To: palmer@sifive.com, aou@eecs.berkeley.edu Cc: hch@infradead.org, zong@andestech.com, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Zong Li Subject: [PATCH v4 1/5] RISC-V: Build tishift only on 64-bit Date: Wed, 3 Oct 2018 11:09:58 +0800 Message-Id: X-Mailer: git-send-email 2.18.0 In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Only RV64 supports 128 integer size. Signed-off-by: Zong Li --- 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