mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 15:02:32 +00:00
2317a7426e
Build system: x86_64 Build-tested: generic, smp Run-tested: generic/AR-5387un, smp/VR-3032u Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
21 lines
504 B
Diff
21 lines
504 B
Diff
--- a/drivers/irqchip/irq-bcm6345-periph.c
|
|
+++ b/drivers/irqchip/irq-bcm6345-periph.c
|
|
@@ -186,6 +186,8 @@ static int bcm6345_periph_set_affinity(s
|
|
}
|
|
raw_spin_unlock_irqrestore(&priv->lock, flags);
|
|
|
|
+ irq_data_update_effective_affinity(data, cpumask_of(cpu));
|
|
+
|
|
return 0;
|
|
}
|
|
#endif
|
|
@@ -197,6 +199,8 @@ static int bcm6345_periph_map(struct irq
|
|
|
|
irq_set_chip_and_handler(irq, &priv->chip, handle_level_irq);
|
|
|
|
+ irqd_set_single_target(irq_desc_get_irq_data(irq_to_desc(irq)));
|
|
+
|
|
return 0;
|
|
}
|
|
|