Commit 95e432b9 authored by Jiang Liu's avatar Jiang Liu Committed by Thomas Gleixner

alpha/irq: Use access helper irq_data_get_affinity_mask()

This is a preparatory patch for moving irq_data struct members.
Signed-off-by: default avatarJiang Liu <jiang.liu@linux.intel.com>
Cc: Matt Turner <mattst88@gmail.com>
Link: http://lkml.kernel.org/r/20150713075508.821878421@linutronix.deSigned-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 0aef3997
...@@ -59,7 +59,7 @@ int irq_select_affinity(unsigned int irq) ...@@ -59,7 +59,7 @@ int irq_select_affinity(unsigned int irq)
cpu = (cpu < (NR_CPUS-1) ? cpu + 1 : 0); cpu = (cpu < (NR_CPUS-1) ? cpu + 1 : 0);
last_cpu = cpu; 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); chip->irq_set_affinity(data, cpumask_of(cpu), false);
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment