Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp4983245imm; Tue, 18 Sep 2018 02:22:34 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYWzy2JtYyZ838nTNvOxw5xJKOI7c4x6N8QgteNhB6ZUvk66Eu8AOHqbUARn94DqvuQ2k/f X-Received: by 2002:a17:902:722:: with SMTP id 31-v6mr28476181pli.207.1537262554933; Tue, 18 Sep 2018 02:22:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537262554; cv=none; d=google.com; s=arc-20160816; b=0de39iwOwQ+Y0I4AQzTSM07wuBeVXj+wbEDerZ+Bv1DVWY1Eb6S1PENZfXkxRn+NWx NGzvml+kq6EW3HNONLpTDv6l9oNZCWcnJIrT8eUqj2jk8aOjxHohvNBCghLyauaYlqTd u78PWoFrfHB2HPD5VBnxMXUUil596vfuKvPuMAi9Wf0Yf7XR8n3zzPC2aCwW+YZAcFcN YuOYKUJbqkmPYOOEsZMhbb5k5/OH/bxa7SYDXowzlZav+tj9Sao/G1B5FqToh4u/WZG9 m7WqcXO6XW2LppDxUkwtAFoSuCaP9Qx2pK3csGPrmGUGgKSmHIeMHCAMhDPfe6FNYnWR lxFA== 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=LPor7BB2q/WlFx8c4CJ1BoYMp0XbtiEBw8OeggqU8Krq5RX6/IN9dJB2xMusCluZZp XVPFP2hPGS8Ysfy2H3e9V8olZgc6DE0DDlzWveY5vZ+26/Ldrs0+a9+/UhwKX1PM2val Wm+2Sq6DbU8TngZdtKX5zaV9xoaIiOJIIb79TPA1L+CvxVSYhmVxEQO3aPLm679SbY9I MguvckhhZK8X+flMdfMt/flONncAyt9OIFxEziny+GEg7I9RXkHL48YAw4AKUcMLCaAl dTZSnGiHv2mpNQt2/ZZXdhv0MkTpig5FmoUDNi9Bnr3IyhLX38QCCtg7TSOMjt4Vnsrn vmpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=GTyZjwNh; 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 s126-v6si19235961pfc.222.2018.09.18.02.22.19; Tue, 18 Sep 2018 02:22:34 -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=GTyZjwNh; 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 S1729519AbeIROwe (ORCPT + 99 others); Tue, 18 Sep 2018 10:52:34 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:35068 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727757AbeIROwe (ORCPT ); Tue, 18 Sep 2018 10:52:34 -0400 Received: by mail-pf1-f193.google.com with SMTP id p12-v6so728633pfh.2 for ; Tue, 18 Sep 2018 02:20:50 -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=GTyZjwNh+8tjNC36wgk/FjMscOtVon2H2rz5t6BOtL2hUz0g86KBoeiQz1sjggf2Oj gLqYhhc3l/lfy3PJy2eyQxpCIVxDQz8Ctr0nPoIiDgOHC5Mg/17s0rGDlAkePLzKbe+Z FMaBxM6CrOmmbpWiIyR6rWgzEFRsbZcooQi3Duq/a1FdQIkqOIadTwJpanyCp5SsIhOz 1tWKOYz34tsPUo0ru1Fg6KwPfQkbJcnOS2tqHI1sFrgnTWFigkv8FwTzsMZovQcvBo/Y xXUGz8j5iaVnxVLEBx3n2rsYYb7k6aZbptwHMsVPuW/CnAa2ZOF4tm2kFqPGHeT/VWS3 7p7Q== 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=By8CLbpc2mPDPpgoHybEp9CJrO1aWzc9JpGSoiM+P9Y6RS1RKiCrFat+0UU6DJ+gAe iwqV9iR8kCs9pZT45ZCr5x2otUrCvg1jFg2lPgdEWU6/EuYIjw0loaVOwjHw1ZFMV8iA 1uXoCR66YMXcbUhLpGokH/anvrQwavPFPgv63nPNTflXtkus9vvsHuTDtx9evEYt3+W5 fd848tp1sVPyuCvqKF9hPnSDVTGZVDHWfVivf4uOCr0jx0OeHH9cjV/RU1eqGGTW6VCr GzlOWY9dXOnKg6vD/fgO+UvQUWwmjR0//thWuETX0kuO31409SN9eW6Mvyhlax+eTTo5 97Ug== X-Gm-Message-State: APzg51BfGjZIzKyUAK7JGYFsT23Xr8rRptqoMKpiqRe2idrLY/8gHC/G c55h3jhxRcyOLWvzpH1aqyY= X-Received: by 2002:a62:e412:: with SMTP id r18-v6mr29979318pfh.25.1537262450234; Tue, 18 Sep 2018 02:20:50 -0700 (PDT) Received: from app09.andestech.com ([118.163.51.199]) by smtp.gmail.com with ESMTPSA id 1-v6sm29932877pfm.145.2018.09.18.02.20.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Sep 2018 02:20:49 -0700 (PDT) From: Zong Li 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 Subject: [PATCH 1/5] RISC-V: Build tishift only on 64-bit Date: Tue, 18 Sep 2018 17:19:13 +0800 Message-Id: <40c77db9ee2d23479ff90f2658539d29d7a30896.1537260207.git.zongbox@gmail.com> 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