diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2001-09-20 18:34:53 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2001-09-20 18:34:53 +0000 |
commit | 8a68903f01cd28a3fc50563dbc0dff042cdc72c1 (patch) | |
tree | 121321cdd9016734ce42ffa83de89a46b9566c71 | |
parent | b0fca25a9648389afcab72c3deb976d10ed05111 (diff) |
make this compile for kernel
-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 0ebf43539b9..26d510a4dcc 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.4 2001/06/04 23:14:02 mickey Exp $'')dnl +define(_rcsid,``$OpenBSD: bcopy.m4,v 1.5 2001/09/20 18:34:52 mickey Exp $'')dnl dnl dnl dnl This is the source file for bcopy.S, spcopy.S @@ -247,9 +247,9 @@ 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), r31 ldo R%copy_on_fault(t2), t2 - stw t2, pcb_onfault+u_pcb(r31) + stw t2, PCB_ONFAULT+U_PCB(r31) ' mfsp sr2, ret0 /* XXX need this?, sr1 is scratchable */ mtsp arg0, sr1 @@ -259,7 +259,7 @@ LEAF_ENTRY(spcopy) hppa_copy(spcopy, sr1, arg1, sr2, arg3, ret1, `+') /* reset fault handler */ - stw r0, pcb_onfault+u_pcb(r31) + stw r0, PCB_ONFAULT+U_PCB(r31) mtsp ret0, sr2 L(spcopy, ret) bv 0(rp) |