Subject: CVS commit: src/sys/arch/sparc64/sparc64
To: None <source-changes@NetBSD.org>
From: Andrew Doran <ad@netbsd.org>
List: source-changes
Date: 01/08/2008 00:45:24
Module Name:	src
Committed By:	ad
Date:		Tue Jan  8 00:45:24 UTC 2008

Modified Files:
	src/sys/arch/sparc64/sparc64: pmap.c

Log Message:
pmap_destroy: cast return of atomic_dec_uint_nv to (int) to avoid leaking
pmaps. The refcount can be zero due to pmap_remove_all. Problem found by
tnn@.


To generate a diff of this commit:
cvs rdiff -r1.207 -r1.208 src/sys/arch/sparc64/sparc64/pmap.c

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