From patchwork Thu Oct 6 07:55:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jisheng Zhang X-Patchwork-Id: 13000030 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 A01F5C433F5 for ; Thu, 6 Oct 2022 08:06:21 +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=zBvVaOj+U103ALP5ZeoIkw/aA49RF8BAlIq/zql3AgQ=; b=1gYaUn6ZYrO2H+ BfSIHLi3F9nGo1NS31O2zCYSeDT95hXUeO589tDPAO+MmJ8RwYCPU+AgGQ3jgKZklzcNUArB9WbyV 4Eb91zf1ExCVPNxez7rNVJtEPdELBTW33jWRjgMqPkywaEExAWaNr9O0rpKOWxX9c5QyrWs6Zyo87 C+vxhUTpaqmm+9pPAK3e8O53jFzWSMpMI3WHTKuIww+nfmL2iD80hzhKZvajVsBdyGL1h2tCfM/xH EIgEJWlHRxdIL5J/P+poojVLQJBbXJS1m+M/uXiUUQAmGoYRPi/xaauK8sUZD7lmXsaTBvsgzPdkH Hzn7AV2ttB4wm7B+N6iw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ogLsg-000aYT-2l; Thu, 06 Oct 2022 08:05:22 +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 1ogLsd-000aWf-1c for linux-arm-kernel@lists.infradead.org; Thu, 06 Oct 2022 08:05:20 +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 91EDEB82034; Thu, 6 Oct 2022 08:05:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 359E2C433C1; Thu, 6 Oct 2022 08:05:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1665043516; bh=0KOBtdhLR3vaBI7Tt443ulwJnuPhBUCBnEJAPysvfKM=; h=From:To:Cc:Subject:Date:From; b=gpfKXE8earfNfX6V6NEU37qO8P+KSvXSckP5JsWHGFW0jZaFYBuiB6kohSfZVKqUf HwUmu1tNaR0ofem1dNVbWALoPuo5YgLQmU1pwDuYF7csUj0dhyjQJmoKjPgm7aiwn4 4u3m70E/4BXiGhK3JJzpR87xoonuSp8PLq12UH5loIJudOeKzQM6dGHRWE4TvVCAHL HiUuF6obgPzI5Iy2o1p8sVYfrFwPe1iCo4lhtRY1uUHifIXq22lKSgqYEeF4KsF9ww G9QeYinODavigG8AitcvPFAWea9lhdN8GyM4oabHYQH52aYixsqjvy0j2tlrRFH79/ uVPJvntotZTfQ== From: Jisheng Zhang To: Catalin Marinas , Will Deacon , Peter Zijlstra , Josh Poimboeuf , Jason Baron , Steven Rostedt , Ard Biesheuvel , Mark Rutland Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/2] arm64: constify arguments to satisfy asm constraints Date: Thu, 6 Oct 2022 15:55:40 +0800 Message-Id: <20221006075542.2658-1-jszhang@kernel.org> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221006_010519_254797_FB9FC2D5 X-CRM114-Status: UNSURE ( 9.26 ) X-CRM114-Notice: Please train this message. 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Constify arguments of arch_static_branch(), arch_static_branch_jump() and alternative_has_feature_* to satisfy asm constraints. Jisheng Zhang (2): arm64: jump_label: mark arguments as const to satisfy asm constraints arm64: alternative: constify alternative_has_feature_* argument arch/arm64/include/asm/alternative-macros.h | 4 ++-- arch/arm64/include/asm/jump_label.h | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-)