ARM64/irq: Use access helper irq_data_get_affinity_mask()
PATCH 1/1 ARM64/irq: Use access helper irq_data_get_affinity_mask()
From: Jiang Liu <[email protected]>
This is a preparatory patch for moving irq_data struct members.
--- arch/arm64/kernel/irq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/kernel/irq.c +2 -2
@@ -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_dif (!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; }
Catalin Marinas
maintainerPATCH 1/1 ARM64/irq: Use access helper irq_data_get_affinity_mask()
Hi Thomas,
Quoted 9 lines · Thomas Gleixner
From: Jiang Liu <[email protected]>
This is a preparatory patch for moving
irq_datastruct members.Signed-off-by Jiang Liu <[email protected]>Reviewed-by Hanjun Guo <[email protected]>Cc linux-arm-kernel at lists.infradead.orgCc Catalin Marinas <[email protected]>Signed-off-by Thomas Gleixner <[email protected]>
What's the plan with this patch? Do you get it via your tree together with other patches or we should merge it via the arm64 tree? If the former:
PATCH 1/1 ARM64/irq: Use access helper irq_data_get_affinity_mask()
Quoted 7 lines · Catalin Marinas
Hi Thomas,
Quoted 4 lines · Thomas Gleixner
From: Jiang Liu <[email protected]>
This is a preparatory patch for moving
irq_datastruct members.
Quoted 8 lines
Quoted 5 lines
Signed-off-by Jiang Liu <[email protected]>Reviewed-by Hanjun Guo <[email protected]>Cc linux-arm-kernel at lists.infradead.orgCc Catalin Marinas <[email protected]>Signed-off-by Thomas Gleixner <[email protected]>What's the plan with this patch? Do you get it via your tree together with other patches or we should merge it via the arm64 tree? If the
Just push it through arm64, please.
Thanks,
tglx