diff options
author | Antoine Tenart <antoine.tenart@free-electrons.com> | 2016-02-19 18:22:43 +0300 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2016-03-09 12:37:37 +0300 |
commit | 0fc6fa2924d0dd54aa5c780a964c2812acf55ded (patch) | |
tree | 93f8ea90a334c20b42071c1eb66e7a670ce20fd4 /drivers/irqchip | |
parent | 04a0e4dee85642138dc7bd78f50ebee397e057a8 (diff) | |
download | linux-0fc6fa2924d0dd54aa5c780a964c2812acf55ded.tar.xz |
irqchip/gic-v3: Always return IRQ_SET_MASK_OK_DONE in gic_set_affinity
Always return IRQ_SET_MASK_OK_DONE instead of IRQ_SET_MASK_OK when the
affinity has been updated. When using stacked irqchips, returning
IRQ_SET_MASK_OK_DONE means skipping all descendant irqchips.
Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'drivers/irqchip')
-rw-r--r-- | drivers/irqchip/irq-gic-v3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/irqchip/irq-gic-v3.c b/drivers/irqchip/irq-gic-v3.c index dd16a608a988..5b7d3c2129d8 100644 --- a/drivers/irqchip/irq-gic-v3.c +++ b/drivers/irqchip/irq-gic-v3.c @@ -640,7 +640,7 @@ static int gic_set_affinity(struct irq_data *d, const struct cpumask *mask_val, else gic_dist_wait_for_rwp(); - return IRQ_SET_MASK_OK; + return IRQ_SET_MASK_OK_DONE; } #else #define gic_set_affinity NULL |