Subject: CVS commit: src/sys/arch/powerpc/ibm4xx
To: None <>
From: Chuck Silvers <>
List: source-changes
Date: 03/02/2005 09:02:42
Module Name:	src
Committed By:	chs
Date:		Wed Mar  2 09:02:42 UTC 2005

Modified Files:
	src/sys/arch/powerpc/ibm4xx: pmap.c

Log Message:
fix two bugs with wiring:
 (1) in pmap_enter_pv(), we would always mark the header entry wired, even if
     the new entry wasn't put there.  noticed by Juergen Hannken-Illjes.
 (2) in pmap_unwire(), we would never examine the header entry.
     noticed by me.

while I'm here, move the counter increment in the pmap_enter() path to be
next to the corresponding PV_WIRE() call so it's more obvious they match.

To generate a diff of this commit:
cvs rdiff -r1.32 -r1.33 src/sys/arch/powerpc/ibm4xx/pmap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.