]> git.itanic.dy.fi Git - linux-stable/commit
MIPS: lantiq: register smp_ops on non-smp platforms
authorAleksander Jan Bajkowski <olek2@wp.pl>
Mon, 22 Jan 2024 18:47:09 +0000 (19:47 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Feb 2024 00:21:20 +0000 (16:21 -0800)
commitebdb4032174b3ab8beef0ed7847e8bf1e2f70677
treef446c5cded4225f7cb720ba69c3cd847b6c6b38c
parent3cb11d189673ae012ecad07bbbcd70bb08ca884b
MIPS: lantiq: register smp_ops on non-smp platforms

[ Upstream commit 4bf2a626dc4bb46f0754d8ac02ec8584ff114ad5 ]

Lantiq uses a common kernel config for devices with 24Kc and 34Kc cores.
The changes made previously to add support for interrupts on all cores
work on 24Kc platforms with SMP disabled and 34Kc platforms with SMP
enabled. This patch fixes boot issues on Danube (single core 24Kc) with
SMP enabled.

Fixes: 730320fd770d ("MIPS: lantiq: enable all hardware interrupts on second VPE")
Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/mips/lantiq/prom.c