Subject: port-hpcmips/36249: update vr_idle for uvm.page_idle_zero type change
To: None <port-hpcmips-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: Matthew Orgass <darkstar@city-net.com>
List: netbsd-bugs
Date: 04/30/2007 06:05:00
>Number:         36249
>Category:       port-hpcmips
>Synopsis:       update vr_idle for uvm.page_idle_zero type change
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-hpcmips-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 30 06:05:00 +0000 2007
>Originator:     darkstar@city-net.com
>Release:        NetBSD 4.99.16
>Organization:
>Description:
>How-To-Repeat:
  Try to boot a VR system.
>Fix:

Index: sys/arch/hpcmips/vr/vr_idle.S
===================================================================
RCS file: /cvsroot/src/sys/arch/hpcmips/vr/vr_idle.S,v
retrieving revision 1.11
diff -u -p -r1.11 vr_idle.S
--- sys/arch/hpcmips/vr/vr_idle.S	9 Feb 2007 21:55:04 -0000	1.11
+++ sys/arch/hpcmips/vr/vr_idle.S	30 Apr 2007 05:21:42 -0000
@@ -66,7 +66,7 @@ LEAF(vr_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