OSDN Git Service

MIPS: BMIPS: Also call bmips_cpu_setup() for secondary cores
authorFlorian Fainelli <f.fainelli@gmail.com>
Wed, 19 Aug 2020 18:26:45 +0000 (11:26 -0700)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Fri, 21 Aug 2020 07:29:09 +0000 (09:29 +0200)
commite14f633b66902615cf7faa5d032b45ab8b6fb158
tree2b8155e163afac12383c402d8e910dab876cfc6c
parentdbfc95f98f0158958d1f1e6bf06d74be38dbd821
MIPS: BMIPS: Also call bmips_cpu_setup() for secondary cores

The initialization done by bmips_cpu_setup() typically affects both
threads of a given core, on 7435 which supports 2 cores and 2 threads,
logical CPU number 2 and 3 would not run this initialization.

Fixes: 738a3f79027b ("MIPS: BMIPS: Add early CPU initialization code")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/kernel/smp-bmips.c