summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2020-06-22 16:47:11 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2020-06-22 16:47:11 +0000
commit8daf33d050fab8822f82537070b8a9e6050181c2 (patch)
tree87a0add30d0bd9e5680a6e3acabc2e88d31ac491
parent188cee019294846a78898670cdb14ef74efb806a (diff)
Fix previous commit; pasted instructed in the wrong spot.
-rw-r--r--sys/arch/powerpc64/powerpc64/locore.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/powerpc64/powerpc64/locore.S b/sys/arch/powerpc64/powerpc64/locore.S
index 15b6225b901..4b9039c241d 100644
--- a/sys/arch/powerpc64/powerpc64/locore.S
+++ b/sys/arch/powerpc64/powerpc64/locore.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore.S,v 1.15 2020/06/22 16:22:58 kettenis Exp $ */
+/* $OpenBSD: locore.S,v 1.16 2020/06/22 16:47:10 kettenis Exp $ */
/*
* Copyright (c) 2020 Mark Kettenis <kettenis@openbsd.org>
@@ -128,6 +128,7 @@ proc_trampoline:
mr %r3, %r30
mtctr %r12
bctrl
+ addi %r1, %r1, -16
b trapexit
/*
@@ -285,6 +286,5 @@ longjmp:
ld %r30, 0xa0(%r3)
ld %r31, 0xa8(%r3)
mr %r4, %r3 /* return val */
- addi %r1, %r1, -16
blr
#endif