diff options
author | Álvaro Fernández Rojas <noltari@gmail.com> | 2021-02-23 15:25:13 +0100 |
---|---|---|
committer | Álvaro Fernández Rojas <noltari@gmail.com> | 2021-02-23 15:25:13 +0100 |
commit | 4dd5845f4981c1dbecaf76ed695e28d6137cc7cd (patch) | |
tree | f4714c6c136d87bb1ccd5c90fa64d260e0ebe08b /target/linux/bmips/patches-5.10/202-irqchip-bcm6345-l1-intc-fix-smp.patch | |
parent | c015d18cd7095ab0876484d2087c3e8add8674eb (diff) | |
download | upstream-4dd5845f4981c1dbecaf76ed695e28d6137cc7cd.tar.gz upstream-4dd5845f4981c1dbecaf76ed695e28d6137cc7cd.tar.bz2 upstream-4dd5845f4981c1dbecaf76ed695e28d6137cc7cd.zip |
bmips: fix SMP CPU mapping
SMP isn't supported on BCM6358 since it has a shared TLB. Some boards boot
with CPU #1 instead of CPU #0, and this is currently not supported do to a
smp-bmips bug.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
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.patch | 11 |
1 files changed, 0 insertions, 11 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 deleted file mode 100644 index f9001e685e..0000000000 --- a/target/linux/bmips/patches-5.10/202-irqchip-bcm6345-l1-intc-fix-smp.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- 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 |