Received: by 10.192.165.156 with SMTP id m28csp415208imm; Wed, 11 Apr 2018 00:56:09 -0700 (PDT) X-Google-Smtp-Source: AIpwx48hi3eEN9lrgwh60NdEPBY5eiOUbA6fhQD2RAJsxiyGIWmXA2UmbCpD4mQf/c7V5hUt+4L6 X-Received: by 10.99.55.68 with SMTP id g4mr2561320pgn.283.1523433369943; Wed, 11 Apr 2018 00:56:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523433369; cv=none; d=google.com; s=arc-20160816; b=RAMlohqWuda8HKCHpt7u7wKfF+ZHQ3L0b4qgGJSie03AAgVXY6nD0pceBYTJc66d3K 4CtVQACAIyrNmq/hHbY7SsOvFjlh3oOE060ScxBhpiz2TYHR9ZUpp7+gZrTBxaSSGe10 z2kUEiNTiqQvXTZ7Fc4wLSpXenquuxqAMBhcugK70ndqmABhRKp/XnDrPHvngPwrQAJm ybKidaBtD87up6WYBjpv9HVPKhlgy+5MNb6tepaGpUjjURMnp7chEDqWTfD8P3x/SEXp 9XF3dDD++JLf+XsAGk7yN9Or6Bsao3USrzFfINV6KXNrM0GZ0PlFZG1gOJ/W4oKKrBZP sMuw== 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=mkynRC8BEO1atYdJmgMNULAMqsZvMWJErtQFU9diRqw=; b=0dUBvWEeT5NqKD7z+x+39/9F6rd7DUoQgJ7ajpNy15jvYl/ZEU0AjTP1m+gTZA9k13 MzbOHF/Q2hLJwVMDnkhp0mn4NQ72mCbfFwO8iL2/7ABXsQa5e6IeZ8rDfFeXIGvNzzJM df58qw+ehrmPEmSFH62KfVTF/qgEon9zJ5mGjZbIpVAUeJfhh6c/xD7QTsMtg/Yc5wJG rRIewXHl9gXSm4bhz9+zBE4UdZcK8qpVi2r6wuOI7SMcTK0wMV7Ofwwg7u5D2XdowKu9 mUyt6xJbxfGxy5QzviXlohUC0quppci1ziwmRbQCJb6eDufWiK8CcmRKqYZZgDDRyecY 91ug== 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 d21-v6si621151plr.352.2018.04.11.00.55.33; Wed, 11 Apr 2018 00:56:09 -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 S1751891AbeDKHwD (ORCPT + 99 others); Wed, 11 Apr 2018 03:52:03 -0400 Received: from 9pmail.ess.barracuda.com ([64.235.154.211]:49660 "EHLO 9pmail.ess.barracuda.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751668AbeDKHwB (ORCPT ); Wed, 11 Apr 2018 03:52:01 -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); Wed, 11 Apr 2018 07:50:38 +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; Wed, 11 Apr 2018 00:50:53 -0700 From: Matt Redfearn To: Palmer Dabbelt , Antony Pavlov , James Hogan , Ralf Baechle CC: , Matt Redfearn , Yury Norov , "Paul E. McKenney" , Rob Herring , Tom Herbert , "Luis R. Rodriguez" , Jeremy Kerr , Nick Terrell , , , Greg Kroah-Hartman , Geert Uytterhoeven , Robin Murphy , Richard Weinberger , Albert Ou , Chris Mason , Al Viro , Andrew Morton , Bart Van Assche Subject: [PATCH v6 2/4] lib: Rename compiler intrinsic selects to GENERIC_LIB_* Date: Wed, 11 Apr 2018 08:50:17 +0100 Message-ID: <1523433019-17419-2-git-send-email-matt.redfearn@mips.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1523433019-17419-1-git-send-email-matt.redfearn@mips.com> References: <1523433019-17419-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: 1523433038-321457-11089-33080-1 X-BESS-VER: 2018.4-r1804052328 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.191870 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 v6: None 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