mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-15 21:30:43 +00:00
MIPS: Netlogic: use branch instead of jump
Fix an issue in the reset code. Since this code is copied to the reset vector, using 'j' for looping is not correct. Use relative branch 'b'. Update the usage of 'j' in smpboot.S to be consistent although it is not a bug there. Signed-off-by: Jayachandran C <jchandra@broadcom.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/5427/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
919f9abb37
commit
fd5f527cc5
@ -226,7 +226,7 @@ EXPORT(nlm_boot_siblings)
|
||||
sw t2, 0(t1)
|
||||
/* Wait until NMI hits */
|
||||
3: wait
|
||||
j 3b
|
||||
b 3b
|
||||
nop
|
||||
|
||||
/*
|
||||
|
@ -137,7 +137,7 @@ NESTED(nlm_rmiboot_preboot, 16, sp)
|
||||
mtcr t1, t0 /* update core control */
|
||||
|
||||
1: wait
|
||||
j 1b
|
||||
b 1b
|
||||
nop
|
||||
END(nlm_rmiboot_preboot)
|
||||
__FINIT
|
||||
|
Loading…
Reference in New Issue
Block a user