diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2000-06-08 10:31:16 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2000-06-08 10:31:16 +0000 |
commit | c95a4e57a02e5f9157e3d9e7057e4152024a1678 (patch) | |
tree | fd8fc31f420183e64ae507a3c04975b0a63631ab /sys/arch | |
parent | 72549850f2ad4df28bf01cfc43d4d80ca3327fe2 (diff) |
&vm_pmap -> vm_map.pmap
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/arc/arc/pmap.c | 6 | ||||
-rw-r--r-- | sys/arch/arc/arc/trap.c | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/arc/arc/pmap.c b/sys/arch/arc/arc/pmap.c index f28f111cc6a..052654c613d 100644 --- a/sys/arch/arc/arc/pmap.c +++ b/sys/arch/arc/arc/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.15 1999/09/03 18:00:34 art Exp $ */ +/* $OpenBSD: pmap.c,v 1.16 2000/06/08 10:31:15 art Exp $ */ /* * Copyright (c) 1992, 1993 * The Regents of the University of California. All rights reserved. @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * from: @(#)pmap.c 8.4 (Berkeley) 1/26/94 - * $Id: pmap.c,v 1.15 1999/09/03 18:00:34 art Exp $ + * $Id: pmap.c,v 1.16 2000/06/08 10:31:15 art Exp $ */ /* @@ -511,7 +511,7 @@ pmap_pinit(pmap) if (pmap->pm_segtab->seg_tab[i] != 0) panic("pmap_pinit: pm_segtab != 0"); #endif - if (pmap == &vmspace0.vm_pmap) { + if (pmap == vmspace0.vm_map.pmap) { /* * The initial process has already been allocated a TLBPID * in mach_init(). diff --git a/sys/arch/arc/arc/trap.c b/sys/arch/arc/arc/trap.c index 6deb34facc8..297686ce355 100644 --- a/sys/arch/arc/arc/trap.c +++ b/sys/arch/arc/arc/trap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: trap.c,v 1.23 1999/12/08 06:50:15 itojun Exp $ */ +/* $OpenBSD: trap.c,v 1.24 2000/06/08 10:31:15 art Exp $ */ /* * Copyright (c) 1988 University of Utah. @@ -338,7 +338,7 @@ trap(statusReg, causeReg, vadr, pc, f) pt_entry_t *pte; unsigned int entry; vm_offset_t pa; - pmap_t pmap = &p->p_vmspace->vm_pmap; + pmap_t pmap = p->p_vmspace->vm_map.pmap; if (!(pte = pmap_segmap(pmap, vadr))) panic("trap: utlbmod: invalid segmap"); |