diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-08-13 05:23:07 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-08-13 05:23:07 +0000 |
commit | f05ecfc0e9fd3702a32d90647e8550cc4d64df3e (patch) | |
tree | 1efef2582a57e8c358b8e19bc21ce7a4373d44e3 /lib/libc/arch/hppa | |
parent | 40bc0d2eafb41a5904eb5ffeff22dffc87777a27 (diff) |
forgot to fix this while was fixing copy_on_fault shitz
Diffstat (limited to 'lib/libc/arch/hppa')
-rw-r--r-- | lib/libc/arch/hppa/string/bcopy.m4 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/arch/hppa/string/bcopy.m4 b/lib/libc/arch/hppa/string/bcopy.m4 index 55ac9054d98..10ff22a74e3 100644 --- a/lib/libc/arch/hppa/string/bcopy.m4 +++ b/lib/libc/arch/hppa/string/bcopy.m4 @@ -1,4 +1,4 @@ -define(_rcsid,``$OpenBSD: bcopy.m4,v 1.9 2002/05/20 08:31:35 mickey Exp $'')dnl +define(_rcsid,``$OpenBSD: bcopy.m4,v 1.10 2002/08/13 05:23:06 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 |