From b1e577165362a5ac77bc73bdffe83ce9b2f885f9 Mon Sep 17 00:00:00 2001 From: chris Date: Mon, 3 Feb 2003 23:16:30 +0000 Subject: [PATCH] Trivial change, convert a tqh_first to TAILQ_FIRST(). --- sys/arch/i386/i386/pmap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/arch/i386/i386/pmap.c b/sys/arch/i386/i386/pmap.c index 01a842fde7db..3a06aef15b9d 100644 --- a/sys/arch/i386/i386/pmap.c +++ b/sys/arch/i386/i386/pmap.c @@ -1,4 +1,4 @@ -/* $NetBSD: pmap.c,v 1.148 2003/01/22 18:32:18 hannken Exp $ */ +/* $NetBSD: pmap.c,v 1.149 2003/02/03 23:16:30 chris Exp $ */ /* * @@ -60,7 +60,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.148 2003/01/22 18:32:18 hannken Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.149 2003/02/03 23:16:30 chris Exp $"); #include "opt_cputype.h" #include "opt_user_ldt.h" @@ -1411,7 +1411,7 @@ pmap_free_pvs(pmap, pvs) * Can't free the PV page if the PV entries were associated with * the kernel pmap; the pmap is already locked. */ - if (pv_nfpvents > PVE_HIWAT && pv_unusedpgs.tqh_first != NULL && + if (pv_nfpvents > PVE_HIWAT && TAILQ_FIRST(&pv_unusedpgs) != NULL && pmap != pmap_kernel()) pmap_free_pvpage();