Sync with alc's revision 1.125 of i386/i386/vm_machdep.c. This
fixes the kernel build breakage.
This commit is contained in:
parent
39892425b0
commit
c60d8a9901
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user