From c5af0812e5d7d60d182addc4594c42baf2e8b591 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Sun, 26 Dec 2004 21:22:15 +0000 Subject: Use list and queue macros where applicable to make the code easier to read; no change in compiler assembly output. --- sys/uvm/uvm_aobj.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/uvm/uvm_aobj.c') diff --git a/sys/uvm/uvm_aobj.c b/sys/uvm/uvm_aobj.c index 56e50f7f577..b0ec463b8e3 100644 --- a/sys/uvm/uvm_aobj.c +++ b/sys/uvm/uvm_aobj.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_aobj.c,v 1.26 2002/03/14 01:27:18 millert Exp $ */ +/* $OpenBSD: uvm_aobj.c,v 1.27 2004/12/26 21:22:14 miod Exp $ */ /* $NetBSD: uvm_aobj.c,v 1.39 2001/02/18 21:19:08 chs Exp $ */ /* @@ -833,7 +833,7 @@ uao_flush(uobj, start, stop, flags) */ if (by_list) { - pp = uobj->memq.tqh_first; + pp = TAILQ_FIRST(&uobj->memq); } else { curoff = start; pp = uvm_pagelookup(uobj, curoff); -- cgit v1.2.3