From 5180aa1c5c9950d51f72a4c21d43544c07c97982 Mon Sep 17 00:00:00 2001 From: alc Date: Sat, 31 Jul 1999 18:31:00 +0000 Subject: Change the type of vpgqueues::lcnt from "int *" to "int". The indirection served no purpose. --- sys/amd64/amd64/vm_machdep.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/amd64') diff --git a/sys/amd64/amd64/vm_machdep.c b/sys/amd64/amd64/vm_machdep.c index 2e91254..21bc706 100644 --- a/sys/amd64/amd64/vm_machdep.c +++ b/sys/amd64/amd64/vm_machdep.c @@ -38,7 +38,7 @@ * * from: @(#)vm_machdep.c 7.3 (Berkeley) 5/13/91 * Utah $Hdr: vm_machdep.c 1.16.1.1 89/06/23$ - * $Id: vm_machdep.c,v 1.123 1999/07/01 13:21:35 peter Exp $ + * $Id: vm_machdep.c,v 1.124 1999/07/22 06:04:01 alc Exp $ */ #include "npx.h" @@ -553,7 +553,7 @@ vm_page_zero_idle() zero_state = 0; m = vm_page_list_find(PQ_FREE, free_rover, FALSE); if (m != NULL && (m->flags & PG_ZERO) == 0) { - --(*vm_page_queues[m->queue].lcnt); + vm_page_queues[m->queue].lcnt--; TAILQ_REMOVE(vm_page_queues[m->queue].pl, m, pageq); m->queue = PQ_NONE; splx(s); @@ -567,7 +567,7 @@ vm_page_zero_idle() (void)splvm(); vm_page_flag_set(m, PG_ZERO); m->queue = PQ_FREE + m->pc; - ++(*vm_page_queues[m->queue].lcnt); + vm_page_queues[m->queue].lcnt++; TAILQ_INSERT_TAIL(vm_page_queues[m->queue].pl, m, pageq); ++vm_page_zero_count; -- cgit v1.1