diff options
author | Jiang Liu <jiang.liu@linux.intel.com> | 2015-07-13 20:30:04 +0000 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2015-07-22 10:57:09 +0100 |
commit | 3bc38fc110c642c0a455a5214465bb4d62805a75 (patch) | |
tree | 51b26437602700fa02e1283df3bfd578865c61d5 /arch/arm64/kernel/irq.c | |
parent | c0d3fce5e192c6b45a9d8e06aecfcec546f73884 (diff) | |
download | op-kernel-dev-3bc38fc110c642c0a455a5214465bb4d62805a75.zip op-kernel-dev-3bc38fc110c642c0a455a5214465bb4d62805a75.tar.gz |
ARM64/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@linux.intel.com>
Reviewed-by: Hanjun Guo <hanjun.guo@linaro.org>
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/kernel/irq.c')
-rw-r--r-- | arch/arm64/kernel/irq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm64/kernel/irq.c b/arch/arm64/kernel/irq.c index 240b75c..463fa2e 100644 --- a/arch/arm64/kernel/irq.c +++ b/arch/arm64/kernel/irq.c @@ -61,7 +61,7 @@ void __init init_IRQ(void) static bool migrate_one_irq(struct irq_desc *desc) { struct irq_data *d = irq_desc_get_irq_data(desc); - const struct cpumask *affinity = d->affinity; + const struct cpumask *affinity = irq_data_get_affinity_mask(d); struct irq_chip *c; bool ret = false; @@ -81,7 +81,7 @@ static bool migrate_one_irq(struct irq_desc *desc) if (!c->irq_set_affinity) pr_debug("IRQ%u: unable to set affinity\n", d->irq); else if (c->irq_set_affinity(d, affinity, false) == IRQ_SET_MASK_OK && ret) - cpumask_copy(d->affinity, affinity); + cpumask_copy(irq_data_get_affinity_mask(d), affinity); return ret; } |