diff options
author | 2002-08-13 05:24:22 +0000 | |
---|---|---|
committer | 2002-08-13 05:24:22 +0000 | |
commit | df559b241b7bf804e9e909b573df30ec046b2f0a (patch) | |
tree | 393b854c0309ac6db630cb8b8203616ada72e929 /sys/lib/libkern/arch | |
parent | forgot to fix this while was fixing copy_on_fault shitz (diff) | |
download | wireguard-openbsd-df559b241b7bf804e9e909b573df30ec046b2f0a.tar.xz wireguard-openbsd-df559b241b7bf804e9e909b573df30ec046b2f0a.zip |
sync
Diffstat (limited to 'sys/lib/libkern/arch')
-rw-r--r-- | sys/lib/libkern/arch/hppa/bcopy.m4 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/lib/libkern/arch/hppa/bcopy.m4 b/sys/lib/libkern/arch/hppa/bcopy.m4 index bfd2629dafb..363a46588ab 100644 --- a/sys/lib/libkern/arch/hppa/bcopy.m4 +++ b/sys/lib/libkern/arch/hppa/bcopy.m4 @@ -1,4 +1,4 @@ -define(_rcsid,``$OpenBSD: bcopy.m4,v 1.11 2002/05/20 08:32:28 mickey Exp $'')dnl +define(_rcsid,``$OpenBSD: bcopy.m4,v 1.12 2002/08/13 05:24:22 mickey Exp $'')dnl dnl dnl dnl This is the source file for bcopy.S, spcopy.S @@ -246,10 +246,10 @@ LEAF_ENTRY(spcopy) ldil L%curproc, r31 ldw R%curproc(r31), r31 ldil L%copy_on_fault, t2 - ldw P_ADDR(r31), r31 + ldw P_ADDR(r31), t4 ldo R%copy_on_fault(t2), t2 - ldw PCB_ONFAULT+U_PCB(r31), r1 - stw t2, PCB_ONFAULT+U_PCB(r31) + ldw PCB_ONFAULT+U_PCB(t4), r1 + stw t2, PCB_ONFAULT+U_PCB(t4) ' mfsp sr2, ret0 /* XXX need this?, sr1 is scratchable */ mtsp arg0, sr1 |