alpha/irq: Use access helper irq_data_get_affinity_mask()
authorJiang Liu <jiang.liu@linux.intel.com>
Mon, 13 Jul 2015 20:08:38 +0000 (20:08 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 27 Jul 2015 11:36:37 +0000 (13:36 +0200)
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>
Link: http://lkml.kernel.org/r/20150713075508.821878421@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/alpha/kernel/irq.c

index 51f2c8654253f2bd6667ccff24c0db09a7f80ccc..2804648c8ff4008d15761145b92167e721212935 100644 (file)
@@ -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;
 }