Received: by 10.213.65.68 with SMTP id h4csp3303690imn; Tue, 3 Apr 2018 02:28:20 -0700 (PDT) X-Google-Smtp-Source: AIpwx49LeabEkBNcvsEzpH5FaIL9O/betJv5hqSG8CAVqM9A58NgBHy1IGXmkM6DsqpglVTcEk4h X-Received: by 10.99.5.137 with SMTP id 131mr8343623pgf.99.1522747700448; Tue, 03 Apr 2018 02:28:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522747700; cv=none; d=google.com; s=arc-20160816; b=EafHU7jes26aCxxec8edKjK7wX/08bFb3T1PBjuMYyqO0rsErlCbof9P0ElwBOzchW ahaZfWPuIO/Dur/xPlMsu9kpGO32aq7LXX+T2OS0sbODwD/SI2kqcV6yhpu2yjpR7YnP tKQL7OqALacMLGw9+yJzlxie6Mdmuh5L/tXjeI5vcmjWytUX2JSBUmf5sMa1UEt23qfh BaydEpErcMtRJTx79ARSjh4JdGuHZVpmx8JVnUgu7Q0eQswqwMbcBrFzSvfZ8JUQGoFP Ij70xmLxnh4k19K6OsY9dFbrxokKkJJQFadm+tsiLWFB1Vp3wNOwUNgLFA5NM7zZ0/ek mRWw== 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=An8jODE/5nAVtt3iyRuNX/N/NgsELRXi9MvugPgy7eA=; b=0l2eNZAJOjR8bSqJSm1BUL0q/IvnX2M05OJzhCYF7mkM4BwmGJA8V2MZGwTs/Xbw0b WbFhmzq+7UTGz2Rr0X/eGU3XJgbGEE+m5GVkKX4p94LIzMQw/NIpcJpKDFbwJwLcDHml qsWpfJh0Uh1Cl9dXED+9BurLutg5JaicZgMIcyTj3F/6uTOILOCf/+NH9kMmo2SP7zlT e2jG0iCiYOI5/R0VCnmSsKl7lU+cLEH1sOUhy0dSwye+Km3a0V+T0C/RHkeCVmszEqIO MG3+nCfvUbKYJHIMfoIsHm6eTJ26hSARhQCYMv41jbaWprtroKWgRNmBKA8haOAR3lMJ K9xg== 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 c20si1829546pfi.18.2018.04.03.02.28.05; Tue, 03 Apr 2018 02:28:20 -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 S1755352AbeDCJ0s (ORCPT + 99 others); Tue, 3 Apr 2018 05:26:48 -0400 Received: from 9pmail.ess.barracuda.com ([64.235.154.211]:48061 "EHLO 9pmail.ess.barracuda.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755172AbeDCJ0r (ORCPT ); Tue, 3 Apr 2018 05:26:47 -0400 Received: from MIPSMAIL01.mipstec.com (mailrelay.mips.com [12.201.5.28]) by mx1411.ess.rzc.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NO); Tue, 03 Apr 2018 09:25:06 +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; Tue, 3 Apr 2018 02:25:12 -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 , Florian Fainelli , Greg Kroah-Hartman , Andrew Morton , "Bart Van Assche" , Rob Herring , "Nick Terrell" , Dan Williams , Albert Ou , Al Viro , Tom Herbert , , Richard Weinberger , "Paul E. McKenney" Subject: [PATCH v5 2/3] lib: Rename compiler intrinsic selects to GENERIC_LIB_* Date: Tue, 3 Apr 2018 10:24:25 +0100 Message-ID: <1522747466-22081-2-git-send-email-matt.redfearn@mips.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1522747466-22081-1-git-send-email-matt.redfearn@mips.com> References: <1522747466-22081-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: 1522747462-452059-13822-47957-2 X-BESS-VER: 2018.4.1-r1803302241 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.191650 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 v5: None 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