From patchwork Mon Jul 31 13:58:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Federico Serafini X-Patchwork-Id: 13334836 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 lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (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 4A677C41513 for ; Mon, 31 Jul 2023 13:58:23 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.573084.897437 (Exim 4.92) (envelope-from ) id 1qQTPY-0005e6-Dm; Mon, 31 Jul 2023 13:58:12 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 573084.897437; Mon, 31 Jul 2023 13:58:12 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qQTPY-0005dz-BG; Mon, 31 Jul 2023 13:58:12 +0000 Received: by outflank-mailman (input) for mailman id 573084; Mon, 31 Jul 2023 13:58:11 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qQTPX-0005dn-Dn for xen-devel@lists.xenproject.org; Mon, 31 Jul 2023 13:58:11 +0000 Received: from support.bugseng.com (mail.bugseng.com [162.55.131.47]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 4872aef3-2faa-11ee-b255-6b7b168915f2; Mon, 31 Jul 2023 15:58:10 +0200 (CEST) Received: from Dell.homenet.telecomitalia.it (host-79-23-62-117.retail.telecomitalia.it [79.23.62.117]) by support.bugseng.com (Postfix) with ESMTPSA id 752DB4EE0737; Mon, 31 Jul 2023 15:58:09 +0200 (CEST) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 4872aef3-2faa-11ee-b255-6b7b168915f2 From: Federico Serafini To: xen-devel@lists.xenproject.org Cc: consulting@bugseng.com, Federico Serafini , Stefano Stabellini , Julien Grall , Bertrand Marquis , Volodymyr Babchuk Subject: [XEN PATCH] xen/arm/IRQ: uniform irq_set_affinity() with x86 version Date: Mon, 31 Jul 2023 15:58:02 +0200 Message-Id: <018fb3a81eb6669346694f2669333ba4d67ab5c4.1690811728.git.federico.serafini@bugseng.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Change parameter name of irq_set_affinity() to uniform the function prototype with the one used by x86. No functional changes. Signed-off-by: Federico Serafini Reviewed-by: Stefano Stabellini --- xen/arch/arm/include/asm/irq.h | 2 +- xen/arch/arm/irq.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/xen/arch/arm/include/asm/irq.h b/xen/arch/arm/include/asm/irq.h index 105b33b37d..c8044b0371 100644 --- a/xen/arch/arm/include/asm/irq.h +++ b/xen/arch/arm/include/asm/irq.h @@ -91,7 +91,7 @@ int platform_get_irq(const struct dt_device_node *device, int index); int platform_get_irq_byname(const struct dt_device_node *np, const char *name); -void irq_set_affinity(struct irq_desc *desc, const cpumask_t *cpu_mask); +void irq_set_affinity(struct irq_desc *desc, const cpumask_t *mask); /* * Use this helper in places that need to know whether the IRQ type is diff --git a/xen/arch/arm/irq.c b/xen/arch/arm/irq.c index 054bb281d8..09648db17a 100644 --- a/xen/arch/arm/irq.c +++ b/xen/arch/arm/irq.c @@ -175,10 +175,10 @@ static inline struct domain *irq_get_domain(struct irq_desc *desc) return irq_get_guest_info(desc)->d; } -void irq_set_affinity(struct irq_desc *desc, const cpumask_t *cpu_mask) +void irq_set_affinity(struct irq_desc *desc, const cpumask_t *mask) { if ( desc != NULL ) - desc->handler->set_affinity(desc, cpu_mask); + desc->handler->set_affinity(desc, mask); } int request_irq(unsigned int irq, unsigned int irqflags,