Skip to content

Commit e14f633

Browse files
ffainellitsbogend
authored andcommitted
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: 738a3f7 ("MIPS: BMIPS: Add early CPU initialization code") Signed-off-by: Florian Fainelli <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
1 parent dbfc95f commit e14f633

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arch/mips/kernel/smp-bmips.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,8 @@ static int bmips_boot_secondary(int cpu, struct task_struct *idle)
239239
*/
240240
static void bmips_init_secondary(void)
241241
{
242+
bmips_cpu_setup();
243+
242244
switch (current_cpu_type()) {
243245
case CPU_BMIPS4350:
244246
case CPU_BMIPS4380:

0 commit comments

Comments
 (0)