Received: by 10.223.176.5 with SMTP id f5csp673720wra; Fri, 9 Feb 2018 05:30:15 -0800 (PST) X-Google-Smtp-Source: AH8x226imgTUKFEzNyT+I7rd7kqKX92anhszef4H8DX4MaJjl4ZXwHQlPMsUlVY3Qo07cV87ePMQ X-Received: by 10.98.192.205 with SMTP id g74mr2876977pfk.91.1518183015366; Fri, 09 Feb 2018 05:30:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518183015; cv=none; d=google.com; s=arc-20160816; b=Ujpkj6Kvp8/1ulPUpiVJ4tO/nocXDX9C9sn1wnQJ/L7UYhd6khQLoHn8+s4ggEXd+T FelJoTP3Wlntn+EHYX6slKdCIWan5zA9RaZjB/R6ibYhpM59Ejj1Wfa5nIOvrOcuY2Xh 7etOOd1M1c3qQtxsN1hEfKLw25j/+lLAMPXkcLkrahGRy+yELXaJC5sPnVrn/uh+UGe2 dbVkP2/e1YtdSMIP424mlcXGs/Siyb8/uC29tt0cvTnxoTWU1M7+a2L908gC70wAKk+Z loc21D/HYCg+JNbUswpXz1q+ZfiN+g82ZA21luKJCnr+xht6Kiy0EMRS9mGG31sID1FO IdQw== 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=bnfVthJi4Ysb8VwpJvk2sUlZmgHmVj9rsdpYLi6zlv8=; b=SfsQ8h4XryFGK5qkcRB5ECYtJ3M4pRjfdsIc0SonMIZ+FzyUWd8gXL9Cs3SqreGBG0 XT209MgEX7LKvpiTdB722KS4VBo0O/vVpMPvCAQmuPXnMyjorZXKt3quvJf52JbBZZWQ ompq+XnQaRly9ig0okONpETcXDPEAq5v/WzNaw54faVfCCA7Him2H8wiC/lSCO2FNyB2 u6kqvKJrezxemAxQTNUX09A1EJVnzeHM+SrXd/W+VDn3+nbANGnpeiEi54ZUBph48M/A Z5csmxY45I67/Btq3/3L7IpUhCdoSnezvbsRYxWZ44cJefcVNfN69eUnAk7eHCNZaXf+ PERA== 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 q74si1643822pfk.164.2018.02.09.05.30.00; Fri, 09 Feb 2018 05:30:15 -0800 (PST) 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 S1752056AbeBIN3K (ORCPT + 99 others); Fri, 9 Feb 2018 08:29:10 -0500 Received: from 9pmail.ess.barracuda.com ([64.235.150.224]:56421 "EHLO 9pmail.ess.barracuda.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751140AbeBIN3H (ORCPT ); Fri, 9 Feb 2018 08:29:07 -0500 Received: from MIPSMAIL01.mipstec.com (mailrelay.mips.com [12.201.5.28]) by mx4.ess.sfj.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NO); Fri, 09 Feb 2018 13:28:52 +0000 Received: from mredfearn-linux.mipstec.com (10.150.130.83) by MIPSMAIL01.mipstec.com (10.20.43.31) with Microsoft SMTP Server (TLS) id 14.3.361.1; Fri, 9 Feb 2018 05:23:35 -0800 From: Matt Redfearn To: Palmer Dabbelt , CC: , , , , Matt Redfearn Subject: [PATCH] lib: Rename compiler intrinsic selects to GENERIC_LIB_* Date: Fri, 9 Feb 2018 13:22:52 +0000 Message-ID: <1518182572-23376-1-git-send-email-matt.redfearn@mips.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.150.130.83] X-BESS-ID: 1518182925-298555-3570-44439-3 X-BESS-VER: 2018.1-r1801291959 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.189854 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 --- 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 2c6adf12713a..5f1e2188d029 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -99,9 +99,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 c5e84fbcb30b..946d0890aad6 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -584,20 +584,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 d11c48ec8ffd..7e1ef77e86a3 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -252,9 +252,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