summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2000-06-05 12:58:30 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2000-06-05 12:58:30 +0000
commit49cb5685be51aa587b7599c571e414a6d2976316 (patch)
tree959845ec8c14cf3a0e5da6611bc7c24d85e57766 /sys
parent7c6e6b37354ce84fff6ac490c8d5d91451f491f4 (diff)
Adjust for the reaper.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/hppa/hppa/locore.S10
-rw-r--r--sys/arch/hppa/hppa/vm_machdep.c5
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);
}
/*