diff mbox

[kvm-unit-tests,v3,03/11] s390x: set initital stack pointer to stackptr, not stacktop

Message ID 20180213162321.20522-4-david@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

David Hildenbrand Feb. 13, 2018, 4:23 p.m. UTC
... was wrong from the beginning and remained unnoticed until we started
playing with dynamic memory allocation.

Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
---
 s390x/cstart64.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/s390x/cstart64.S b/s390x/cstart64.S
index 4d0c877..9a26ed3 100644
--- a/s390x/cstart64.S
+++ b/s390x/cstart64.S
@@ -18,7 +18,7 @@ 
 	.globl start
 start:
 	/* setup stack */
-	larl	%r15, stacktop
+	larl	%r15, stackptr
 	/* setup initial PSW mask + control registers*/
 	larl	%r1, initital_psw
 	lpswe	0(%r1)