Typo in previous

This commit is contained in:
skrll 2016-09-04 15:23:14 +00:00
parent 6a9bc54ee6
commit 7246cf077c

View File

@ -1,4 +1,4 @@
/* $NetBSD: pmap_machdep.c,v 1.8 2016/09/04 15:21:54 skrll Exp $ */
/* $NetBSD: pmap_machdep.c,v 1.9 2016/09/04 15:23:14 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.8 2016/09/04 15:21:54 skrll Exp $");
__KERNEL_RCSID(0, "$NetBSD: pmap_machdep.c,v 1.9 2016/09/04 15:23:14 skrll Exp $");
/*
* Manages physical address maps.
@ -905,7 +905,7 @@ pmap_md_vca_add(struct vm_page *pg, vaddr_t va, pt_entry_t *ptep)
if (__predict_true(!mips_cache_badalias(pv->pv_va, va))) {
return false;
}
for (pv_entry_t npv = pv; npv && npv->pmap;) {
for (pv_entry_t npv = pv; npv && npv->pv_pmap;) {
if (npv->pv_va & PV_KENTER) {
npv = npv->pv_next)
continue;