Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 98416C43334 for ; Wed, 15 Jun 2022 19:17:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=8J8VGI8E9BRiY9SaZbdN0tsX96vxb9xz+A0y6RSIcQk=; b=mv+7rtalXTptrD yUfbUSUDBlfHEBTC7vog3EnxZZiDcPY+qEiGx+0rwTFCZ6MrhdR57ySIrfsab0dqKWNZ38wluVk88 OTe8b/F4fzkvZxOHoSmPb2uZx6JnielqhfsJ0aimmGk4hcY7X4kdCRxb204M8RalrIK6RAxxWr3pD SgS9oQCRdT9isecGD/TMfIljL5uqHbQ6ZKrME7U3jXzW0c5kB3qgO1fqyaWUe50aK8Kad66JdrIoF HFBpbBNUIwdl0wC67tRS9R5uygQGA1k/YM4hmdhInvigNLzK99h8m3BbXF/88VBy0Umhv2Plq2kOO 14I39U9VRBc56+LvtwEQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o1YVZ-00G3KK-EW; Wed, 15 Jun 2022 19:16:53 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o1YVW-00G3Jp-Tm for linux-arm-kernel@lists.infradead.org; Wed, 15 Jun 2022 19:16:52 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 72D3FB81DDB; Wed, 15 Jun 2022 19:16:48 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CB8F1C34115; Wed, 15 Jun 2022 19:16:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1655320607; bh=1vd5S6oEnkGM/htYZy5pwlJvUeY93uBsu8bYAJx6VM8=; h=From:To:Cc:Subject:Date:From; b=dao0LUx7ytPzno6NshYmBPQiF0Ah3dsM9HQtDb8Pv5eEm0ZTW6HrkfHiTMEYKkR8a 7JppRnTNgpTzKtV3vwZiclj6eCRQxHWlJlQ3joaZ/GNLNXiIsv74cw8rzoNuVLffxU lZg15vWLSO939dpYSaXmy0EKPKdQXbvFdCWELygEuCYHffwAOJX2VRN+l61fw7XzW7 i4MZyewYtS/15ZBpFyRbhF9uRpl6VDUdiB9gdIDMWUH4N9dysPaSi82f2bRyQNOdKx Y7eROlH9Kv/YF8B21blBL6Xw10qnIdM3/A3Q2jtcsQIEYU5QSt2FXrAWRvcn79lstU hAPDDS9DfL5LA== From: Mark Brown To: Catalin Marinas , Will Deacon , Suzuki K Poulose Cc: linux-arm-kernel@lists.infradead.org, Mark Brown Subject: [PATCH] arm64/cpufeature: Unexport set_cpu_feature() Date: Wed, 15 Jun 2022 20:15:04 +0100 Message-Id: <20220615191504.626604-1-broonie@kernel.org> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=899; h=from:subject; bh=1vd5S6oEnkGM/htYZy5pwlJvUeY93uBsu8bYAJx6VM8=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBiqicWaPrm8z0QBR/SWOoyN9cQGtC96R2OcpWkNj7T TpYmg9+JATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCYqonFgAKCRAk1otyXVSH0O/LB/ 9weyoLuMF4YP3GBFbuqh1JMX7J7weZW23S6kyGRLzIFrV0XNzSAZC3v05D2nBUxwdcRlbVKEMfiKTB U5w8erQzOMCllncEadQaoHEtIq7NoK8OBQbRxk4UBExY2f6JU1gNX9cCiku8ImEqE3BvxBvndMDcQA eW/FRiJ8USqhipvLMYnOJoZxAP8qvSO/yEvVJg0sdZOQiKtxIL7MY+GSDKRNTzhe+v7hyPhGSLc2kc MeqejlCCKQD+xoNDl8ZesbGU48yCYLuiF5NtxyJGb7Utkm04SGL60ZOUOjPn9R0eAz1ZROS2EFgi7R H6W3bF1BzyzIsclNNlo6OenpOhdUI9 X-Developer-Key: i=broonie@kernel.org; a=openpgp; fpr=3F2568AAC26998F9E813A1C5C3F436CA30F5D8EB X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220615_121651_146796_E7848510 X-CRM114-Status: GOOD ( 12.81 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org We currently export set_cpu_feature() to modules but there are no in tree users that can be built as modules and it is hard to see cases where it would make sense for there to be any such users. Remove the export to avoid anyone else having to worry about why it is there and ensure that any users that do get added get a bit more visiblity. Signed-off-by: Mark Brown --- arch/arm64/kernel/cpufeature.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/kernel/cpufeature.c b/arch/arm64/kernel/cpufeature.c index 79fac13ab2ef..8d88433de81d 100644 --- a/arch/arm64/kernel/cpufeature.c +++ b/arch/arm64/kernel/cpufeature.c @@ -3101,7 +3101,6 @@ void cpu_set_feature(unsigned int num) WARN_ON(num >= MAX_CPU_FEATURES); elf_hwcap |= BIT(num); } -EXPORT_SYMBOL_GPL(cpu_set_feature); bool cpu_have_feature(unsigned int num) { -- 2.30.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel