Received: by 10.213.65.68 with SMTP id h4csp1531233imn; Thu, 29 Mar 2018 06:28:56 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/VliIMuIlMnXq8DFvoelqldZX1KQOhj0fivVEgFVs1+yzPH6TmNwhf3zWZBUPeDtvNFtgT X-Received: by 2002:a17:902:7445:: with SMTP id e5-v6mr8617609plt.352.1522330136506; Thu, 29 Mar 2018 06:28:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522330136; cv=none; d=google.com; s=arc-20160816; b=tkoMtFHXYD9WRuWcgNrP3GDhriryDb82ZuXmzi3iwA+fKcJ/RJ16McA30CjJRfOYxG rUlLQD35/V8IH7hPXecji0ZAtDFwvHQL7npNTgHwJ4rSFVqEe1sYOljN+PYzS1L1poas vd5A9dBzuz5xTcCb+fihYFD4jhChDnATH/zGf7KfKxw6Jt8SURkxMxchS2/30I6jGn3O RFe1Jk8Qe+8buD4YQgTROdG0X9JCpZYLr20j81a1XIATZWDV5Op0F9JRFByfhreOHaPS fMmJCESWiLXUwkRgftGFuOn+ZCxuESg2A7GADWHgliPY3jBwLr6LCBi5fohq+wQUhkkx /pIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:arc-authentication-results; bh=Ai/bc4A5R0+oW/HArM20Ix9jpwilGiTZNaQPmg8wf2s=; b=Ch1kZiRWzK7w9t0OVJk0MGv/DLMDxvO7ZaWF6jGqx+nKvsPqJP7qN6JllGreCztSgo vo/2AyfCFlfL9zqK/Xa8gbcXsc4lzqL9DkL7Ck74HMWcUF7L5sA/1t2kdE25/JofDKtI dWvVKAMpYiJK9XQ1ghiPRYCT9i3k6QR+zGceUs1SNTK6yVdIzMYtF+f+FPlipMC9CQsL 5k5p6Lh/OeWhtc3lgV2s6ApHyNIOpkh4094XbfBs/pJ9tskJsCqtIWZY0BnEpQbbqYZx 4TmtG3zubjhR044VptqlNJtOcEXcxFteB+uyeXrWALgEbjYC6+z+D0ER1rRGdrh4rW18 PFzw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b8-v6si5757695ple.556.2018.03.29.06.28.42; Thu, 29 Mar 2018 06:28:56 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752679AbeC2N1D (ORCPT + 99 others); Thu, 29 Mar 2018 09:27:03 -0400 Received: from 9pmail.ess.barracuda.com ([64.235.154.211]:51757 "EHLO 9pmail.ess.barracuda.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752543AbeC2N1C (ORCPT ); Thu, 29 Mar 2018 09:27:02 -0400 Received: from MIPSMAIL01.mipstec.com (mailrelay.mips.com [12.201.5.28]) by mx1401.ess.rzc.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NO); Thu, 29 Mar 2018 13:25:21 +0000 Received: from mredfearn-linux.mipstec.com (192.168.155.41) by MIPSMAIL01.mipstec.com (10.20.43.31) with Microsoft SMTP Server (TLS) id 14.3.361.1; Thu, 29 Mar 2018 03:41:37 -0700 From: Matt Redfearn To: Palmer Dabbelt , Antony Pavlov , James Hogan , Ralf Baechle CC: , Matt Redfearn , "Luis R. Rodriguez" , Robin Murphy , Geert Uytterhoeven , , Chris Mason , Yury Norov , Jeremy Kerr , Greg Kroah-Hartman , "Andrew Morton" , Bart Van Assche , Rob Herring , Nick Terrell , Dan Williams , Matthew Wilcox , "Albert Ou" , Al Viro , Tom Herbert , , Richard Weinberger , "Paul E. McKenney" Subject: [PATCH v4 2/3] lib: Rename compiler intrinsic selects to GENERIC_LIB_* Date: Thu, 29 Mar 2018 11:41:22 +0100 Message-ID: <1522320083-27818-2-git-send-email-matt.redfearn@mips.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1522320083-27818-1-git-send-email-matt.redfearn@mips.com> References: <1522320083-27818-1-git-send-email-matt.redfearn@mips.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [192.168.155.41] X-BESS-ID: 1522329921-321457-5536-21429-1 X-BESS-VER: 2018.3-r1803262126 X-BESS-Apparent-Source-IP: 12.201.5.28 X-BESS-Outbound-Spam-Score: 0.00 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.191513 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------- 0.00 BSF_BESS_OUTBOUND META: BESS Outbound X-BESS-Outbound-Spam-Status: SCORE=0.00 using account:ESS59374 scores of KILL_LEVEL=7.0 tests=BSF_BESS_OUTBOUND X-BESS-BRTS-Status: 1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org When these are included into arch Kconfig files, maintaining alphabetical ordering of the selects means these get split up. To allow for keeping things tidier and alphabetical, rename the selects to GENERIC_LIB_* Signed-off-by: Matt Redfearn Reviewed-by: Palmer Dabbelt --- Changes in v4: Rename Kconfig symbols GENERIC_* -> GENERIC_LIB_* Changes in v3: None Changes in v2: None arch/riscv/Kconfig | 6 +++--- lib/Kconfig | 12 ++++++------ lib/Makefile | 12 ++++++------ 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index 04807c7f64cc..20185aaaf933 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -104,9 +104,9 @@ config ARCH_RV32I bool "RV32I" select CPU_SUPPORTS_32BIT_KERNEL select 32BIT - select GENERIC_ASHLDI3 - select GENERIC_ASHRDI3 - select GENERIC_LSHRDI3 + select GENERIC_LIB_ASHLDI3 + select GENERIC_LIB_ASHRDI3 + select GENERIC_LIB_LSHRDI3 config ARCH_RV64I bool "RV64I" diff --git a/lib/Kconfig b/lib/Kconfig index e96089499371..e54ebe00937e 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -588,20 +588,20 @@ config STRING_SELFTEST endmenu -config GENERIC_ASHLDI3 +config GENERIC_LIB_ASHLDI3 bool -config GENERIC_ASHRDI3 +config GENERIC_LIB_ASHRDI3 bool -config GENERIC_LSHRDI3 +config GENERIC_LIB_LSHRDI3 bool -config GENERIC_MULDI3 +config GENERIC_LIB_MULDI3 bool -config GENERIC_CMPDI2 +config GENERIC_LIB_CMPDI2 bool -config GENERIC_UCMPDI2 +config GENERIC_LIB_UCMPDI2 bool diff --git a/lib/Makefile b/lib/Makefile index a90d4fcd748f..7425e177f08c 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -253,9 +253,9 @@ obj-$(CONFIG_SBITMAP) += sbitmap.o obj-$(CONFIG_PARMAN) += parman.o # GCC library routines -obj-$(CONFIG_GENERIC_ASHLDI3) += ashldi3.o -obj-$(CONFIG_GENERIC_ASHRDI3) += ashrdi3.o -obj-$(CONFIG_GENERIC_LSHRDI3) += lshrdi3.o -obj-$(CONFIG_GENERIC_MULDI3) += muldi3.o -obj-$(CONFIG_GENERIC_CMPDI2) += cmpdi2.o -obj-$(CONFIG_GENERIC_UCMPDI2) += ucmpdi2.o +obj-$(CONFIG_GENERIC_LIB_ASHLDI3) += ashldi3.o +obj-$(CONFIG_GENERIC_LIB_ASHRDI3) += ashrdi3.o +obj-$(CONFIG_GENERIC_LIB_LSHRDI3) += lshrdi3.o +obj-$(CONFIG_GENERIC_LIB_MULDI3) += muldi3.o +obj-$(CONFIG_GENERIC_LIB_CMPDI2) += cmpdi2.o +obj-$(CONFIG_GENERIC_LIB_UCMPDI2) += ucmpdi2.o -- 2.7.4