[PATCH] sparc,smp: typo in start.S causing SMP not working
Daniel Hellstrom
daniel at gaisler.com
Fri Aug 24 13:32:39 UTC 2018
---
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:
--
2.7.4
More information about the devel
mailing list