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/fae916582907
branches:  trunk
changeset: 457711:fae916582907
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 a2d4ee81f85a -r fae916582907 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