realtek: fix SMP startup
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Mon, 26 Sep 2022 06:46:08 +0000 (08:46 +0200)
committerSander Vanheule <sander@svanheule.net>
Sat, 1 Oct 2022 07:22:32 +0000 (09:22 +0200)
commit2b12da1313706cdd14791f329899de11ce9a35eb
tree5deeab0c2ce68898b0f727c64db420d5427531ed
parentf1f97db627b2f82989a0f97a74bc7a3debd67ecd
realtek: fix SMP startup

The scope of the SMP startup structure is wrong. It is created on the
stack and not as a global variable. This can lead to startup failures.

Fixes: 3f41360eb70c ("realtek: use upstream recommendation for CPU start")
Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de
target/linux/realtek/files-5.10/arch/mips/rtl838x/prom.c