uvm.page_idle_zero now is a bool, not a 32bit value any more.
BTW, is it still worth to have uvm_pageidlezero()? Which port uses it?
This commit is contained in:
parent
8147572ab4
commit
f9712fccb8
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: locore.S,v 1.164 2007/02/09 21:55:06 ad Exp $ */
|
||||
/* $NetBSD: locore.S,v 1.165 2007/02/23 15:11:36 tsutsui Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
@ -167,7 +167,7 @@ LEAF(mips_idle)
|
||||
nop
|
||||
|
||||
/* Try to zero some free pages. */
|
||||
lw t0, _C_LABEL(uvm) + UVM_PAGE_IDLE_ZERO
|
||||
lbu t0, _C_LABEL(uvm) + UVM_PAGE_IDLE_ZERO
|
||||
nop
|
||||
beq t0, zero, 1f
|
||||
nop
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: locore_mips3.S,v 1.89 2007/02/09 21:55:06 ad Exp $ */
|
||||
/* $NetBSD: locore_mips3.S,v 1.90 2007/02/23 15:11:36 tsutsui Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1997 Jonathan Stone (hereinafter referred to as the author)
|
||||
@ -182,7 +182,7 @@ LEAF(mips_wait_idle)
|
||||
nop
|
||||
|
||||
/* Try to zero some free pages. */
|
||||
lw t0, _C_LABEL(uvm) + UVM_PAGE_IDLE_ZERO
|
||||
lbu t0, _C_LABEL(uvm) + UVM_PAGE_IDLE_ZERO
|
||||
nop
|
||||
beq t0, zero, 1f
|
||||
nop
|
||||
|
Loading…
Reference in New Issue
Block a user