diff options
author | 2000-06-05 12:58:29 +0000 | |
---|---|---|
committer | 2000-06-05 12:58:29 +0000 | |
commit | 71cfac8f1df04bb7179610a1a9ee6cd73e7576dd (patch) | |
tree | 3bf59dbc3bce2dc9ca4d0ff5e60de6e923bc3e7b | |
parent | Argh. forgot this when committing the reaper stuff. (diff) | |
download | wireguard-openbsd-71cfac8f1df04bb7179610a1a9ee6cd73e7576dd.tar.xz wireguard-openbsd-71cfac8f1df04bb7179610a1a9ee6cd73e7576dd.zip |
Adjust for the reaper.
-rw-r--r-- | sys/arch/hppa/hppa/locore.S | 10 | ||||
-rw-r--r-- | sys/arch/hppa/hppa/vm_machdep.c | 5 |
2 files changed, 10 insertions, 5 deletions
diff --git a/sys/arch/hppa/hppa/locore.S b/sys/arch/hppa/hppa/locore.S index a28179d6782..949a9aa63a7 100644 --- a/sys/arch/hppa/hppa/locore.S +++ b/sys/arch/hppa/hppa/locore.S @@ -1,4 +1,4 @@ -/* $OpenBSD: locore.S,v 1.33 2000/05/15 17:22:39 mickey Exp $ */ +/* $OpenBSD: locore.S,v 1.34 2000/06/05 12:58:29 art Exp $ */ /* * Copyright (c) 1998-2000 Michael Shalayeff @@ -2396,6 +2396,14 @@ ENTRY(switch_exit) mtctl t4, pidr2 /* XXX we need to switch to some stupid stack here */ + /* arg0 -- oldproc */ + .import exit2, code + ldil L%exit2, t2 + ldo R%exit2(t2), t2 + .call + blr %r0, rp + bv,n %r0(t2) + nop b switch_search copy r0, arg2 /* no old proc */ diff --git a/sys/arch/hppa/hppa/vm_machdep.c b/sys/arch/hppa/hppa/vm_machdep.c index a4243c9a665..36aca5e39de 100644 --- a/sys/arch/hppa/hppa/vm_machdep.c +++ b/sys/arch/hppa/hppa/vm_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vm_machdep.c,v 1.16 2000/01/25 12:55:04 mickey Exp $ */ +/* $OpenBSD: vm_machdep.c,v 1.17 2000/06/05 12:58:29 art Exp $ */ /* * Copyright (c) 1999-2000 Michael Shalayeff @@ -285,8 +285,6 @@ cpu_exit(p) if (fpu_curpcb == (paddr_t)&p->p_addr->u_pcb) fpu_curpcb = 0; - uvmspace_free(p->p_vmspace); - switch_exit(p); } @@ -294,7 +292,6 @@ void cpu_wait(p) struct proc *p; { - uvm_km_free(kernel_map, (vaddr_t)p->p_addr, USPACE); } /* |