public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [patch] alpha/irq: Use access helper irq_data_get_affinity_mask()
@ 2015-07-13 20:08 Thomas Gleixner
  2015-07-27 15:54 ` [tip:irq/core] " tip-bot for Jiang Liu
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Gleixner @ 2015-07-13 20:08 UTC (permalink / raw)
  To: LKML; +Cc: Jiang Liu, Matt Turner

[-- Attachment #1: alpha-irq-Use-access-helper-irq_data_get_affinity_ma.patch --]
[-- Type: text/plain, Size: 823 bytes --]

From: Jiang Liu <jiang.liu@linux.intel.com>

This is a preparatory patch for moving irq_data struct members.

Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com>
Cc: Matt Turner <mattst88@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
 arch/alpha/kernel/irq.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: tip/arch/alpha/kernel/irq.c
===================================================================
--- tip.orig/arch/alpha/kernel/irq.c
+++ tip/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;
 }



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-07-27 15:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-13 20:08 [patch] alpha/irq: Use access helper irq_data_get_affinity_mask() Thomas Gleixner
2015-07-27 15:54 ` [tip:irq/core] " tip-bot for Jiang Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox