diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 1999-06-01 06:37:23 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 1999-06-01 06:37:23 +0000 |
commit | d5d88eb4552e6aed99cc2ee1850aca8195a7d16c (patch) | |
tree | 9ec0fdf9211201737cede293f073725978e9511a /sys | |
parent | f54ead042c38b9915c8c7e8c6802e3b9cfd69398 (diff) |
&vm->vm_pmap -> vm->vm_map.pmap
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/i386/i386/pmap.c | 4 | ||||
-rw-r--r-- | sys/arch/i386/i386/pmap.old.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/i386/i386/pmap.c b/sys/arch/i386/i386/pmap.c index 8501fb1e4b6..4c77120b020 100644 --- a/sys/arch/i386/i386/pmap.c +++ b/sys/arch/i386/i386/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.27 1999/02/26 10:37:51 art Exp $ */ +/* $OpenBSD: pmap.c,v 1.28 1999/06/01 06:37:22 art Exp $ */ /* $NetBSD: pmap.c,v 1.36 1996/05/03 19:42:22 christos Exp $ */ /* @@ -1293,7 +1293,7 @@ pmap_enter(pmap, va, pa, prot, wired) vm_offset_t v; if (curproc == NULL || curproc->p_vmspace == NULL || - pmap != &curproc->p_vmspace->vm_pmap) + pmap != curproc->p_vmspace->vm_map.pmap) panic("ptdi %x", pmap->pm_pdir[PTDPTDI]); /* our guess about the vm_map was good! fault it in. */ diff --git a/sys/arch/i386/i386/pmap.old.c b/sys/arch/i386/i386/pmap.old.c index 6e7cb48a249..21eecdca243 100644 --- a/sys/arch/i386/i386/pmap.old.c +++ b/sys/arch/i386/i386/pmap.old.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.old.c,v 1.27 1999/02/26 10:37:51 art Exp $ */ +/* $OpenBSD: pmap.old.c,v 1.28 1999/06/01 06:37:22 art Exp $ */ /* $NetBSD: pmap.c,v 1.36 1996/05/03 19:42:22 christos Exp $ */ /* @@ -1293,7 +1293,7 @@ pmap_enter(pmap, va, pa, prot, wired) vm_offset_t v; if (curproc == NULL || curproc->p_vmspace == NULL || - pmap != &curproc->p_vmspace->vm_pmap) + pmap != curproc->p_vmspace->vm_map.pmap) panic("ptdi %x", pmap->pm_pdir[PTDPTDI]); /* our guess about the vm_map was good! fault it in. */ |