From c60d8a9901e570807d23880665235c752befd533 Mon Sep 17 00:00:00 2001 From: jdp Date: Thu, 5 Aug 1999 23:38:13 +0000 Subject: [PATCH] Sync with alc's revision 1.125 of i386/i386/vm_machdep.c. This fixes the kernel build breakage. --- sys/alpha/alpha/vm_machdep.c | 6 +++--- sys/powerpc/aim/vm_machdep.c | 6 +++--- sys/powerpc/powerpc/vm_machdep.c | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/sys/alpha/alpha/vm_machdep.c b/sys/alpha/alpha/vm_machdep.c index ee7a3d9e65c2..cff51a9ec252 100644 --- a/sys/alpha/alpha/vm_machdep.c +++ b/sys/alpha/alpha/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.17 1999/07/01 13:21:32 peter Exp $ + * $Id: vm_machdep.c,v 1.18 1999/07/22 06:03:42 alc Exp $ */ /* * Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University. @@ -420,7 +420,7 @@ vm_page_zero_idle() m = vm_page_list_find(PQ_FREE, free_rover, FALSE); zero_state = 0; 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); @@ -434,7 +434,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; diff --git a/sys/powerpc/aim/vm_machdep.c b/sys/powerpc/aim/vm_machdep.c index ee7a3d9e65c2..cff51a9ec252 100644 --- a/sys/powerpc/aim/vm_machdep.c +++ b/sys/powerpc/aim/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.17 1999/07/01 13:21:32 peter Exp $ + * $Id: vm_machdep.c,v 1.18 1999/07/22 06:03:42 alc Exp $ */ /* * Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University. @@ -420,7 +420,7 @@ vm_page_zero_idle() m = vm_page_list_find(PQ_FREE, free_rover, FALSE); zero_state = 0; 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); @@ -434,7 +434,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; diff --git a/sys/powerpc/powerpc/vm_machdep.c b/sys/powerpc/powerpc/vm_machdep.c index ee7a3d9e65c2..cff51a9ec252 100644 --- a/sys/powerpc/powerpc/vm_machdep.c +++ b/sys/powerpc/powerpc/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.17 1999/07/01 13:21:32 peter Exp $ + * $Id: vm_machdep.c,v 1.18 1999/07/22 06:03:42 alc Exp $ */ /* * Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University. @@ -420,7 +420,7 @@ vm_page_zero_idle() m = vm_page_list_find(PQ_FREE, free_rover, FALSE); zero_state = 0; 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); @@ -434,7 +434,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;