Commit fd5f527c authored by Jayachandran C's avatar Jayachandran C Committed by Ralf Baechle

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: default avatarJayachandran C <jchandra@broadcom.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/5427/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 919f9abb
...@@ -226,7 +226,7 @@ EXPORT(nlm_boot_siblings) ...@@ -226,7 +226,7 @@ EXPORT(nlm_boot_siblings)
sw t2, 0(t1) sw t2, 0(t1)
/* Wait until NMI hits */ /* Wait until NMI hits */
3: wait 3: wait
j 3b b 3b
nop nop
/* /*
......
...@@ -137,7 +137,7 @@ NESTED(nlm_rmiboot_preboot, 16, sp) ...@@ -137,7 +137,7 @@ NESTED(nlm_rmiboot_preboot, 16, sp)
mtcr t1, t0 /* update core control */ mtcr t1, t0 /* update core control */
1: wait 1: wait
j 1b b 1b
nop nop
END(nlm_rmiboot_preboot) END(nlm_rmiboot_preboot)
__FINIT __FINIT
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment