diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2001-12-08 20:08:28 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2001-12-08 20:08:28 +0000 |
commit | d7ffd4398b71af9e27a6b48a6bf361fa34326a37 (patch) | |
tree | 82e345b7745d54026cb6b26a4772d46f3490c1e3 /sys | |
parent | abeffa03637403d6d66ecb67723dbdd42d731a92 (diff) |
Use PMAP_MANAGED() macro everywhere instead of hand-expanding it.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/mvme88k/mvme88k/pmap.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/mvme88k/mvme88k/pmap.c b/sys/arch/mvme88k/mvme88k/pmap.c index 0c6822e5e27..bde496c630c 100644 --- a/sys/arch/mvme88k/mvme88k/pmap.c +++ b/sys/arch/mvme88k/mvme88k/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.48 2001/11/28 15:34:16 art Exp $ */ +/* $OpenBSD: pmap.c,v 1.49 2001/12/08 20:08:27 miod Exp $ */ /* * Copyright (c) 1996 Nivas Madhur * All rights reserved. @@ -1919,15 +1919,15 @@ pmap_remove_range(pmap_t pmap, vm_offset_t s, vm_offset_t e) flush_atc_entry(users, tva, kflush); if (opte.pte.modified) { - if (vm_physseg_find(atop(pa), NULL) != -1) { + if (PMAP_MANAGED(pa)) { struct vm_page *pg; pg = PHYS_TO_VM_PAGE(opte.bits & ~PAGE_MASK); pg->flags &= ~PG_CLEAN; - } - /* keep track ourselves too */ - if (PMAP_MANAGED(pa)) + + /* keep track ourselves too */ SET_ATTRIB(pa, 1); + } } } /* end for ( va = s; ...) */ |