summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2000-06-07 15:49:41 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2000-06-07 15:49:41 +0000
commit81a47849e7a31eed719c2dc9ebd54f031bfae11c (patch)
treeb7f6bd4236cdfa30d59ddacc0f049bf8e424c7aa
parent0b6161d2f933502103da58d8368bb0289470c397 (diff)
&vm_pmap -> vm_map.pmap
-rw-r--r--sys/arch/mvme68k/mvme68k/trap.c4
-rw-r--r--sys/arch/mvme68k/mvme68k/vm_machdep.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/mvme68k/mvme68k/trap.c b/sys/arch/mvme68k/mvme68k/trap.c
index 823c8b02e5b..6e1dab5ab11 100644
--- a/sys/arch/mvme68k/mvme68k/trap.c
+++ b/sys/arch/mvme68k/mvme68k/trap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trap.c,v 1.23 2000/01/06 03:21:43 smurph Exp $ */
+/* $OpenBSD: trap.c,v 1.24 2000/06/07 15:49:40 art Exp $ */
/*
* Copyright (c) 1995 Theo de Raadt
@@ -950,7 +950,7 @@ u_int a, d;
num, a, d, f7sz[(s & SSW4_SZMASK) >> 5],
f7tt[(s & SSW4_TTMASK) >> 3], f7tm[s & SSW4_TMMASK]);
printf(" PA ");
- pa = pmap_extract(&p->p_vmspace->vm_pmap, (vm_offset_t)a);
+ pa = pmap_extract(p->p_vmspace->vm_map.pmap, (vm_offset_t)a);
if (pa == 0)
printf("<invalid address>");
else
diff --git a/sys/arch/mvme68k/mvme68k/vm_machdep.c b/sys/arch/mvme68k/mvme68k/vm_machdep.c
index 1182ded6de2..7b069cbcd9e 100644
--- a/sys/arch/mvme68k/mvme68k/vm_machdep.c
+++ b/sys/arch/mvme68k/mvme68k/vm_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vm_machdep.c,v 1.15 2000/06/05 11:03:02 art Exp $ */
+/* $OpenBSD: vm_machdep.c,v 1.16 2000/06/07 15:49:40 art Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -83,7 +83,7 @@ cpu_fork(p1, p2, stack, stacksize)
savectx(curpcb);
*pcb = p1->p_addr->u_pcb;
- PMAP_ACTIVATE(&p2->p_vmspace->vm_pmap, pcb, 0);
+ PMAP_ACTIVATE(p2->p_vmspace->vm_map.pmap, pcb, 0);
/*
* Copy the trap frame, and arrange for the child to return directly