Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1064348imm; Tue, 2 Oct 2018 01:59:51 -0700 (PDT) X-Google-Smtp-Source: ACcGV630xLAb3rSE1kb2pI5ItegVhHAVbMRReY9v2iTeC3wp+Apq2SMEsHy5EJ/XnihLyWAxBMKX X-Received: by 2002:a17:902:bcc2:: with SMTP id o2-v6mr15989156pls.22.1538470791347; Tue, 02 Oct 2018 01:59:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538470791; cv=none; d=google.com; s=arc-20160816; b=tP2VlRrZrKHnrUckbxDyt0RF0Tg/f9NJaDXPGMshXSwrbhKKHXs0GS1TEgZUubowwm U2tjUEDSCJO4SR0ah9KpL8N11oGW6KKJG5TxwpEJGzUF5OD0q/wb64l9LDOU0tj0QIEZ hcyPGdNwFsuHTZ9/rXH8+5QGnC9Bykmn8qidRqMB2Z7D14g74fOVVk7NVG1mswAxdhmr FPn8r7uMOM12G4CsFjfeWTEla1vJ+fxmlnQlGMNDKlvXGx+nAFFx7IFwNNmVcD4VwbPX YosNQjvO9Wu+jHlhkPwwdjk75wxs+qEJmZHSOXRW9jjPODgsNnoZFrzxkS3LyYf0OffX 1LjQ== 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=XJ05hv5+hy1I0lxOXAt7KTAkEyccMr/BWZDvgsndqQhGc3eYfcn2ulvITWQqlDbR5O Aph/1eYryQEBSKNkQKgoYws6kyUdrEJaw4bku4Q/iIb3f9xnmFfObpJPC/nlqD8piZcS S4FmaYvsjpanYSv22AASKUNhtjjC3nfD/hzyz6iYxexwQzrx6srkA1twLKrJ+hXXtHwv SrsNsE54WxyMsWLRMwbK70l3ub+FUwfXuMfcDwh9YvD9Yf08xygiJmNHtKfR/Ki6icMn oWqFUF3qu30LGAMuUx4UG2c77QwWO6judMe5Mhf2+VZFgBVMPxcziTEY2C+a+/EWAVti bBuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=CFZ79Zf5; 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 m9-v6si13328429pgg.464.2018.10.02.01.59.36; Tue, 02 Oct 2018 01:59:51 -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=CFZ79Zf5; 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 S1727204AbeJBPlh (ORCPT + 99 others); Tue, 2 Oct 2018 11:41:37 -0400 Received: from mail-pl1-f194.google.com ([209.85.214.194]:45066 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726475AbeJBPlg (ORCPT ); Tue, 2 Oct 2018 11:41:36 -0400 Received: by mail-pl1-f194.google.com with SMTP id y15-v6so656912plr.12 for ; Tue, 02 Oct 2018 01:59:24 -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=CFZ79Zf5+QQIBEmidjs8YCnEk8VVl5EER/mq2IdYiihjfwOqs8PoUXrLk++YZ5KCTH 0xK17rZQDNZC2uw1vyK6rjj2iE6h1zayIGilsMGg7ua3pNjWkp2CAz468nPPUmr435U6 Yv+ctcTJdUqL5m/E0sguEl8s98xRNZgq3ZORkX1FLyKlc9qDLd5Sf2UqtiLGkzqWsW98 +rK2uhyy/UoDjSdPxYwszBGUQ4tt+NZ5T/v3X4J/KerziPCTK2D5eNG9XYHbUVuplxpy djTQC9s07el73yTec6nOrrVEOOnSQQZzcujX490m5tKjBXAsehBdPN0hMvPgQBsjrnfI WZng== 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=QnvFvgqT2TsB/iEWttBmigg254nCeoozR9gdYMGG0DXcUqdefJ8HpKTTHtlqP3uF3I uBRaGw67ASp9hCmjPAEhIOlPGtg0S6fP8a85539MU6LyqkirolHqvPt66ItpYXmrOYOR BkKgHFm92lNauiZGqzu0C+V8O99T1xZY69d90lSVFBwMmcceHZICyhN68e5VVIWVHlbb dbsSa7O0t29LpQAywJDMIXHhBYqRrvJd12YixcHnjpv05eaAD14HBYbzUrM9CQlrfBLL d6Rg3sxcMS803UFqmS9aiHWI9WuOSHkz6jmuDAnfiom19BAgaJI6ore98VGGXd9MWh6x Accg== X-Gm-Message-State: ABuFfog/ZAxn7mtuHEenEsQZ4yAG6VyTB07cExV49Aw/vdZcW+0ZCndg luTowOfUTtAQ8dNAFdQWaYavOalTIds= X-Received: by 2002:a63:fa4e:: with SMTP id g14-v6mr13732739pgk.18.1538470763770; Tue, 02 Oct 2018 01:59:23 -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 62-v6sm5057927pgc.58.2018.10.02.01.59.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 02 Oct 2018 01:59:23 -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 v3 1/5] RISC-V: Build tishift only on 64-bit Date: Tue, 2 Oct 2018 16:52:27 +0800 Message-Id: <40c77db9ee2d23479ff90f2658539d29d7a30896.1538470103.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