Received: by 10.223.185.116 with SMTP id b49csp4157173wrg; Tue, 13 Feb 2018 13:49:38 -0800 (PST) X-Google-Smtp-Source: AH8x225qbxbZRI75q0hSjVqYKWMioOHJB+UFyXT0hgkZgdiHRhvHS32aC9UZKa8op8GRP40e0Vad X-Received: by 10.98.225.20 with SMTP id q20mr2556264pfh.23.1518558578802; Tue, 13 Feb 2018 13:49:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518558578; cv=none; d=google.com; s=arc-20160816; b=uLCyzoGD3AAXp69ct8498AOWYWv0ppnO8DfaoWql2yxKedxXqNKL7HM8t/M798ToN0 9Krp6DHOyZNiNrXN4IHsB+uiuszh1GUrHu2r/bQq8DkdLRW1DPyPGgYVNdij54iGyucX oIBCyiuRaFgThzershVQmwpQt2AjDXSFcu1FiIlfT12jXlgHs58hWCJ1Ib80GNohTIXM 5vltF+xMtgQbrHfNdI4lHF+TknrDCj+kXCUJyqrumz27aeUYoGOmit/cnsKRrSjaWjiQ e386Hu27BdGX7JmKdRoAjjNQtt9tTmU+ozYQ9q/62cGRDbETg98soIvrHrBOHdJPntNo 0lAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:to:from:cc:in-reply-to:subject:date:dkim-signature :arc-authentication-results; bh=Q9sSn1gU9aGOuO7jtXpWohD5cV1sK0XdkIaRcGvEaSw=; b=zvokXjOwP9eoBjfzL9L6a2+OcaVEl1waw+40gjNsoB4XUlXyknnoroADp26lz2MSVu gjp1WcQMiL2ltlJUe/7cCr1ib/mfcjdxvx9dadIOwyrpLRo+Y6ZqNMuJO0q0JeLSHGl5 r9AJV33zehYuIhwxrsX5n1TODlVnai/BCaQHd1lmZKc9eWsTlgUm67EYQ/eaDCbNNnwh 5reqkHDOgO6OnRJmZHXh6G44d/vEyztdsauNpY1uOqsaDgOiGLjcF1Hg/u3b7XbbOvzq My7//j83Z1dh0H3N4inC8Hcn/m3OgDmhe9YH1CTTrHRcyMOIyddm5rt7D4s+6XtGF0/m iGig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=D66MweLG; 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 x189si27322pgb.216.2018.02.13.13.49.20; Tue, 13 Feb 2018 13:49:38 -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; dkim=pass header.i=@sifive.com header.s=google header.b=D66MweLG; 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 S965910AbeBMVsV (ORCPT + 99 others); Tue, 13 Feb 2018 16:48:21 -0500 Received: from mail-pl0-f67.google.com ([209.85.160.67]:42839 "EHLO mail-pl0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965843AbeBMVsU (ORCPT ); Tue, 13 Feb 2018 16:48:20 -0500 Received: by mail-pl0-f67.google.com with SMTP id 31so1780734ple.9 for ; Tue, 13 Feb 2018 13:48:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=date:subject:in-reply-to:cc:from:to:message-id:mime-version :content-transfer-encoding; bh=Q9sSn1gU9aGOuO7jtXpWohD5cV1sK0XdkIaRcGvEaSw=; b=D66MweLGE00fmyAmmPZ4ZV9lYmCn8bYpUIz4cYxywsnw0R4LaJOEd5DaQT4x501fDK zWAew67R5/JreWA4/O6A9Sn3VdPIWzzrlnK3B0+FZEqespBcG2MXeWORR3AmlH3A8Ik4 ar6UN9+BOBGevm2Y4P6Ghy86MeFMOdaUUeOcJDZ6rgDJdlaVeng9LTOrfDutVTyvEFZQ UZF+H5urvY10ImBvJfP+184dNfcPr9xZ74K/RrV5uiMXMJy/8mgZbC3tG3m1V2PwqVzv svilGJdXNxdzbWvh27ZDtJvD84npxp/e3zmJYD3E97w1GvbZLGfh61GxRVQpUw9AUb67 z95g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:subject:in-reply-to:cc:from:to:message-id :mime-version:content-transfer-encoding; bh=Q9sSn1gU9aGOuO7jtXpWohD5cV1sK0XdkIaRcGvEaSw=; b=E9rslQhWDESJy8jiIKvqxrmUm9l+fjlZBkrLEWCGFftuhr3Slv2YWm59Ih0qzq2Hi6 ywuKEKY6d6ysvNYSgjgPe4vPSRITcc3ppwqQvorl/aRppMixdgEC+De2f2tpNGaITL+B 4WQtCyN0qozKD2HVn3OqV+U3HJXh3q/tOTlezPEM0nZaLh8fbhw+e4OMgyTPTo2722vN qWznHjIJbKRMDP7AS9plhVGjHXcyEPJ46N6vrVF3ZtS1+jBSf0meqrBLeXW3Hiar1Uhx e34eyH6IP7Z8IdUQ5GnaGjR2JwqTdmdAvAOJqVtyVQCPmdBIzIUKhk006R/uRcU7FHn1 pfIQ== X-Gm-Message-State: APf1xPAF0zqME+IaBI+LAi5WY7ygKFes2YU4NwbrDS5ZHJOoZ3EGkViQ ztSmI8oYyp97cOfE3TkDKtqfxA== X-Received: by 2002:a17:902:6a89:: with SMTP id n9-v6mr2345592plk.212.1518558499466; Tue, 13 Feb 2018 13:48:19 -0800 (PST) Received: from localhost ([12.206.222.5]) by smtp.gmail.com with ESMTPSA id v65sm5780882pfv.61.2018.02.13.13.48.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Feb 2018 13:48:18 -0800 (PST) Date: Tue, 13 Feb 2018 13:48:18 -0800 (PST) X-Google-Original-Date: Tue, 13 Feb 2018 13:40:29 PST (-0800) Subject: Re: [PATCH] lib: Rename compiler intrinsic selects to GENERIC_LIB_* In-Reply-To: <1518182572-23376-1-git-send-email-matt.redfearn@mips.com> CC: antonynpavlov@gmail.com, linux-mips@linux-mips.org, jhogan@kernel.org, ralf@linux-mips.org, linux-kernel@vger.kernel.org, matt.redfearn@mips.com From: Palmer Dabbelt To: matt.redfearn@mips.com Message-ID: Mime-Version: 1.0 (MHng) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 09 Feb 2018 05:22:52 PST (-0800), matt.redfearn@mips.com wrote: > 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 Thanks! Do you want me to take this in my tree? Reviewed-by: Palmer Dabbelt > --- > 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