[rtems commit] sparc,smp: typo in start.S causing SMP not working

Daniel Hellstrom danielh at rtems.org
Fri Aug 24 13:53:12 UTC 2018


Module:    rtems
Branch:    master
Commit:    a87964d04f04a093e4da63a867434735e1067c05
Changeset: http://git.rtems.org/rtems/commit/?id=a87964d04f04a093e4da63a867434735e1067c05

Author:    Daniel Hellstrom <daniel at gaisler.com>
Date:      Thu Aug 23 11:13:44 2018 +0200

sparc,smp: typo in start.S causing SMP not working

---

 bsps/sparc/shared/start/start.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bsps/sparc/shared/start/start.S b/bsps/sparc/shared/start/start.S
index 48072e8..0be93ed 100644
--- a/bsps/sparc/shared/start/start.S
+++ b/bsps/sparc/shared/start/start.S
@@ -310,7 +310,7 @@ SYM(hard_reset):
 	andn	%sp, 0x0f, %sp		! align stack on 16-byte boundary
 	mov	%sp, %fp		! set frame pointer
 
-	mov	%o0, %g6
+	mov	%g6, %o0
 	call	SYM(bsp_start_on_secondary_processor) ! does not return
 	 sub	%sp, SPARC_MINIMUM_STACK_FRAME_SIZE, %sp
 .Lbootcpu:




More information about the vc mailing list