diff options
author | 2001-09-20 18:34:52 +0000 | |
---|---|---|
committer | 2001-09-20 18:34:52 +0000 | |
commit | 796d773c2057b30e0b3b6d90d6cdfc37d4d5d837 (patch) | |
tree | 86a94e88c2af1b834b3dd3183ab092b384e42e70 /lib/libc/arch/hppa/string | |
parent | s/TF_SIZE/TRAPFRAME_SIZEOF/ to make it compile now (diff) | |
download | wireguard-openbsd-796d773c2057b30e0b3b6d90d6cdfc37d4d5d837.tar.xz wireguard-openbsd-796d773c2057b30e0b3b6d90d6cdfc37d4d5d837.zip |
make this compile for kernel
Diffstat (limited to 'lib/libc/arch/hppa/string')
-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) |