Message ID | 20240702114302.22475-28-kabel@kernel.org (mailing list archive) |
---|---|
State | Superseded |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> 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 C2CC7C3064D for <linux-arm-kernel@archiver.kernel.org>; Tue, 2 Jul 2024 11:47:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:MIME-Version:References:In-Reply-To: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:List-Owner; bh=R7ZdqQoJr0PgZJd9SFpM+X0ieNozmYbXLeWtzwBJ5CU=; b=Hrd0iJiSNPpJFI3fzxM1Hzp3/T ReV67bvr6oDsQGhYRMIbcPpT/aYXL10WEH68wSvAagZDcNPF6vqeJQRhjyvW+5BAwlLkZtuNyHJZ9 MnutZ8FqWCWmRPCoYeLWvLT1swcjaLXLS7rIazMw2WxzXBYIBNejQAPagpv/Z8HM30TD73r2hMGsj D2sCVt7HrSxaFWhgp+edgbg8TeInWX1F2j3nBsQ7zw8IfS1YRNWd+zMBU4PsfO+0AtvKh+hx2aDvJ W/YFoUscdNoo+BkSe+XZlK9oE7GAps5T40F/GjHiA0HPCr+6WO6TER50hUSmgzjGi29c1iRg1rhrS wdTJWnMg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sObz7-00000006YKy-3UFG; Tue, 02 Jul 2024 11:47:45 +0000 Received: from sin.source.kernel.org ([2604:1380:40e1:4800::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sObvo-00000006WbC-2x2L for linux-arm-kernel@lists.infradead.org; Tue, 02 Jul 2024 11:44:22 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 1E8E2CE1D56; Tue, 2 Jul 2024 11:44:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 43FE2C2BD10; Tue, 2 Jul 2024 11:44:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1719920658; bh=9MaSxiNKPdizcKtPvRYXGasE9tBtH3aF1US3N2+iDB4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PZp9qhU1MpAJPn+cxvvFggPh8OlkCedPNo7f10fABxbTXiFyteGxdOQjUeqyuFjp5 ZWEXw9IGChViqjUlM98kQNKLg6YopKJJXuRVumf9fUJKuGJGCt8371eLertMYKSHJk ZE9TpHOvH1o0mQaZ8hiaKLwiTWrUbOROVo0wi/2w47G+5mMebMSh2uWOJg9TslEb93 p1CtDPUWKN85r3wXh79A/VTH+ToaUXeGY3KS/GvbWZSjSGtdKmTO16W413E0MBxFKK Vdl4x0Q3W/Ljk16yRgR5z8LEX6LaUJt/URrdPZZKDEu+XL8wfSQ2R2nTy9qqWcE7VG RHiGP9HN/K8gw== From: =?utf-8?q?Marek_Beh=C3=BAn?= <kabel@kernel.org> To: Andrew Lunn <andrew@lunn.ch>, Gregory Clement <gregory.clement@bootlin.com>, Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>, Thomas Gleixner <tglx@linutronix.de>, linux-arm-kernel@lists.infradead.org, arm@kernel.org, Andy Shevchenko <andy@kernel.org>, Hans de Goede <hdegoede@redhat.com>, =?utf-8?q?Ilpo_J=C3=A4rvinen?= <ilpo.jarvinen@linux.intel.com> Cc: =?utf-8?q?Marek_Beh=C3=BAn?= <kabel@kernel.org> Subject: [PATCH v2 27/30] irqchip/armada-370-xp: Rename variable for consistency Date: Tue, 2 Jul 2024 13:42:59 +0200 Message-ID: <20240702114302.22475-28-kabel@kernel.org> X-Mailer: git-send-email 2.44.2 In-Reply-To: <20240702114302.22475-1-kabel@kernel.org> References: <20240702114302.22475-1-kabel@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240702_044420_946746_E40A59F5 X-CRM114-Status: GOOD ( 12.31 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
armada-370-xp irqchip updates round 2
|
expand
|
diff --git a/drivers/irqchip/irq-armada-370-xp.c b/drivers/irqchip/irq-armada-370-xp.c index 5f8bb693a0b1..2021b7e47a93 100644 --- a/drivers/irqchip/irq-armada-370-xp.c +++ b/drivers/irqchip/irq-armada-370-xp.c @@ -648,15 +648,15 @@ static inline void mpic_handle_ipi_irq(void) {} static void mpic_handle_cascade_irq(struct irq_desc *desc) { struct irq_chip *chip = irq_desc_get_chip(desc); - unsigned long irqmap, irqsrc, cpuid; + unsigned long cause, irqsrc, cpuid; irq_hw_number_t i; chained_irq_enter(chip, desc); - irqmap = readl_relaxed(per_cpu_int_base + MPIC_PPI_CAUSE); + cause = readl_relaxed(per_cpu_int_base + MPIC_PPI_CAUSE); cpuid = cpu_logical_map(smp_processor_id()); - for_each_set_bit(i, &irqmap, BITS_PER_LONG) { + for_each_set_bit(i, &cause, BITS_PER_LONG) { irqsrc = readl_relaxed(main_int_base + MPIC_INT_SOURCE_CTL(i)); /* Check if the interrupt is not masked on current CPU.
Rename the variable holding cause register to "cause" in mpic_handle_cascade_irq(). Signed-off-by: Marek BehĂșn <kabel@kernel.org> --- drivers/irqchip/irq-armada-370-xp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)