[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-95e432b91045f5dfa2115f943de4f44f0ea107ba@git.kernel.org>
Date: Mon, 27 Jul 2015 08:54:35 -0700
From: tip-bot for Jiang Liu <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, tglx@...utronix.de, hpa@...or.com,
mingo@...nel.org, jiang.liu@...ux.intel.com, mattst88@...il.com
Subject: [tip:irq/core] alpha/irq:
Use access helper irq_data_get_affinity_mask()
Commit-ID: 95e432b91045f5dfa2115f943de4f44f0ea107ba
Gitweb: http://git.kernel.org/tip/95e432b91045f5dfa2115f943de4f44f0ea107ba
Author: Jiang Liu <jiang.liu@...ux.intel.com>
AuthorDate: Mon, 13 Jul 2015 20:08:38 +0000
Committer: Thomas Gleixner <tglx@...utronix.de>
CommitDate: Mon, 27 Jul 2015 13:36:37 +0200
alpha/irq: Use access helper irq_data_get_affinity_mask()
This is a preparatory patch for moving irq_data struct members.
Signed-off-by: Jiang Liu <jiang.liu@...ux.intel.com>
Cc: Matt Turner <mattst88@...il.com>
Link: http://lkml.kernel.org/r/20150713075508.821878421@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
---
arch/alpha/kernel/irq.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/alpha/kernel/irq.c b/arch/alpha/kernel/irq.c
index 51f2c86..2804648 100644
--- a/arch/alpha/kernel/irq.c
+++ b/arch/alpha/kernel/irq.c
@@ -59,7 +59,7 @@ int irq_select_affinity(unsigned int irq)
cpu = (cpu < (NR_CPUS-1) ? cpu + 1 : 0);
last_cpu = cpu;
- cpumask_copy(data->affinity, cpumask_of(cpu));
+ cpumask_copy(irq_data_get_affinity_mask(data), cpumask_of(cpu));
chip->irq_set_affinity(data, cpumask_of(cpu), false);
return 0;
}
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists