Apply fix for boolean_t -> bool changes on uvm.page_idle_zero access.

Thanks Tobias Nygren for help, ok'ed by thorpej, and tested on
1000A by Aaron J. Grier and on PC164 and 3000/300 by me.
This commit is contained in:
tsutsui 2007-03-03 02:20:44 +00:00
parent 20af5e4fd5
commit d4fbe368ec
1 changed files with 5 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: locore.s,v 1.109 2007/02/09 21:55:01 ad Exp $ */
/* $NetBSD: locore.s,v 1.110 2007/03/03 02:20:44 tsutsui Exp $ */
/*-
* Copyright (c) 1999, 2000 The NetBSD Foundation, Inc.
@ -74,7 +74,7 @@
#include <machine/asm.h>
__KERNEL_RCSID(0, "$NetBSD: locore.s,v 1.109 2007/02/09 21:55:01 ad Exp $");
__KERNEL_RCSID(0, "$NetBSD: locore.s,v 1.110 2007/03/03 02:20:44 tsutsui Exp $");
#include "assym.h"
@ -696,7 +696,9 @@ LEAF(idle, 0)
ldl t0, sched_whichqs /* look for non-empty queue */
bne t0, 4f
2: lda t0, uvm
ldl t0, UVM_PAGE_IDLE_ZERO(t0) /* should we zero some pages? */
ldq_u t1, UVM_PAGE_IDLE_ZERO(t0)
lda t0, UVM_PAGE_IDLE_ZERO(t0) /* should we zero some pages? */
extbl t1, t0, t0
beq t0, 3f /* nope. */
CALL(uvm_pageidlezero)
3: ldl t0, sched_whichqs /* look for non-empty queue */