diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2000-06-08 10:23:51 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2000-06-08 10:23:51 +0000 |
commit | 72549850f2ad4df28bf01cfc43d4d80ca3327fe2 (patch) | |
tree | c5e4a78dfa15f6088af7d8da6da27106e3a4c6cd /sys | |
parent | 40025c68b930464f7fe1e438a84424f97b665c65 (diff) |
&vm_pmap -> vm_map.pmap
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/mac68k/mac68k/trap.c | 4 | ||||
-rw-r--r-- | sys/arch/mac68k/mac68k/vm_machdep.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/mac68k/mac68k/trap.c b/sys/arch/mac68k/mac68k/trap.c index 6fe475a6111..42dcafbb8b7 100644 --- a/sys/arch/mac68k/mac68k/trap.c +++ b/sys/arch/mac68k/mac68k/trap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: trap.c,v 1.16 1999/09/03 18:01:15 art Exp $ */ +/* $OpenBSD: trap.c,v 1.17 2000/06/08 10:23:49 art Exp $ */ /* $NetBSD: trap.c,v 1.46 1997/04/07 22:54:44 scottr Exp $ */ /* @@ -940,7 +940,7 @@ dumpwb(num, s, 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/mac68k/mac68k/vm_machdep.c b/sys/arch/mac68k/mac68k/vm_machdep.c index e89a7fe0a9a..0cc26383c04 100644 --- a/sys/arch/mac68k/mac68k/vm_machdep.c +++ b/sys/arch/mac68k/mac68k/vm_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vm_machdep.c,v 1.16 2000/06/05 11:03:00 art Exp $ */ +/* $OpenBSD: vm_machdep.c,v 1.17 2000/06/08 10:23:50 art Exp $ */ /* $NetBSD: vm_machdep.c,v 1.21 1996/09/16 18:00:31 scottr Exp $ */ /* @@ -91,7 +91,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 |