diff --git a/sys/arch/hpcmips/vr/vr_idle.S b/sys/arch/hpcmips/vr/vr_idle.S index a7654c7dbd80..077d91b1591b 100644 --- a/sys/arch/hpcmips/vr/vr_idle.S +++ b/sys/arch/hpcmips/vr/vr_idle.S @@ -1,4 +1,4 @@ -/* $NetBSD: vr_idle.S,v 1.9 2005/12/11 12:17:34 christos Exp $ */ +/* $NetBSD: vr_idle.S,v 1.10 2006/03/24 21:26:16 tsutsui Exp $ */ /* * Copyright (c) 1992, 1993 @@ -58,14 +58,14 @@ * profiling. */ LEAF(vr_idle) - li t0, (MIPS_INT_MASK | MIPS_SR_INT_IE) - mtc0 t0, MIPS_COP_0_STATUS # enable all interrupts - nop sw zero, _C_LABEL(curlwp) # set curlwp NULL for stats #if defined(LOCKDEBUG) jal _C_LABEL(sched_unlock_idle) # release sched_lock nop #endif + li t0, (MIPS_INT_MASK | MIPS_SR_INT_IE) + mtc0 t0, MIPS_COP_0_STATUS # enable all interrupts + nop /* Try to zero some free pages. */ lw t0, _C_LABEL(uvm) + UVM_PAGE_IDLE_ZERO