Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/mips/mips Use PV_ISKENTER_P. NFCI.



details:   https://anonhg.NetBSD.org/src/rev/695c947dd6f9
branches:  trunk
changeset: 842589:695c947dd6f9
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun Jul 14 09:31:33 2019 +0000

description:
Use PV_ISKENTER_P. NFCI.

diffstat:

 sys/arch/mips/mips/pmap_machdep.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 5652f89a4239 -r 695c947dd6f9 sys/arch/mips/mips/pmap_machdep.c
--- a/sys/arch/mips/mips/pmap_machdep.c Sun Jul 14 09:29:21 2019 +0000
+++ b/sys/arch/mips/mips/pmap_machdep.c Sun Jul 14 09:31:33 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap_machdep.c,v 1.23 2018/09/03 16:29:26 riastradh Exp $      */
+/*     $NetBSD: pmap_machdep.c,v 1.24 2019/07/14 09:31:33 skrll Exp $  */
 
 /*-
  * Copyright (c) 1998, 2001 The NetBSD Foundation, Inc.
@@ -67,7 +67,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(0, "$NetBSD: pmap_machdep.c,v 1.23 2018/09/03 16:29:26 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap_machdep.c,v 1.24 2019/07/14 09:31:33 skrll Exp $");
 
 /*
  *     Manages physical address maps.
@@ -945,7 +945,7 @@
        KASSERT(pv->pv_pmap != NULL);
        bool ret = false;
        for (pv_entry_t npv = pv; npv && npv->pv_pmap;) {
-               if (npv->pv_va & PV_KENTER) {
+               if (PV_ISKENTER_P(npv)) {
                        npv = npv->pv_next;
                        continue;
                }



Home | Main Index | Thread Index | Old Index