aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bmips/patches-5.10/202-irqchip-bcm6345-l1-intc-fix-smp.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/bmips/patches-5.10/202-irqchip-bcm6345-l1-intc-fix-smp.patch')
-rw-r--r--target/linux/bmips/patches-5.10/202-irqchip-bcm6345-l1-intc-fix-smp.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/bmips/patches-5.10/202-irqchip-bcm6345-l1-intc-fix-smp.patch b/target/linux/bmips/patches-5.10/202-irqchip-bcm6345-l1-intc-fix-smp.patch
new file mode 100644
index 0000000000..f9001e685e
--- /dev/null
+++ b/target/linux/bmips/patches-5.10/202-irqchip-bcm6345-l1-intc-fix-smp.patch
@@ -0,0 +1,11 @@
+--- a/drivers/irqchip/irq-bcm6345-l1.c
++++ b/drivers/irqchip/irq-bcm6345-l1.c
+@@ -121,7 +121,7 @@ static void bcm6345_l1_irq_handle(struct
+ unsigned int idx;
+
+ #ifdef CONFIG_SMP
+- cpu = intc->cpus[cpu_logical_map(smp_processor_id())];
++ cpu = intc->cpus[smp_processor_id()];
+ #else
+ cpu = intc->cpus[0];
+ #endif