From 8daf33d050fab8822f82537070b8a9e6050181c2 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Mon, 22 Jun 2020 16:47:11 +0000 Subject: Fix previous commit; pasted instructed in the wrong spot. --- sys/arch/powerpc64/powerpc64/locore.S | 4 ++-- 1 file 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 @@ -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 -- cgit v1.2.3