From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754575AbbGMUvb (ORCPT ); Mon, 13 Jul 2015 16:51:31 -0400 Received: from www.linutronix.de ([62.245.132.108]:56369 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752744AbbGMUv2 (ORCPT ); Mon, 13 Jul 2015 16:51:28 -0400 Message-Id: <20150713151626.519112900@linutronix.de> User-Agent: quilt/0.63-1 Date: Mon, 13 Jul 2015 20:51:20 -0000 From: Thomas Gleixner To: LKML Cc: Jiang Liu , Simon Horman , Magnus Damm Subject: [patch 1/5] sh/irq: Use accessor irq_data_get_node() References: <20150713151529.858862519@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Disposition: inline; filename=sh-irq-Use-accessor-irq_data_get_node.patch X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001,URIBL_BLOCKED=0.001 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jiang Liu Use accessor irq_data_get_node() to hide struct irq_data implementation detail, so we can move irq_data->node to irq_data_common once all usage sites are fixed. Signed-off-by: Jiang Liu Cc: Simon Horman Cc: Magnus Damm Signed-off-by: Thomas Gleixner --- arch/sh/kernel/irq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: tip/arch/sh/kernel/irq.c =================================================================== --- tip.orig/arch/sh/kernel/irq.c +++ tip/arch/sh/kernel/irq.c @@ -227,7 +227,7 @@ void migrate_irqs(void) for_each_active_irq(irq) { struct irq_data *data = irq_get_irq_data(irq); - if (data->node == cpu) { + if (irq_data_get_node(data) == cpu) { unsigned int newcpu = cpumask_any_and(data->affinity, cpu_online_mask); if (newcpu >= nr_cpu_ids) {