Subject: CVS commit: src/sys/arch/arm/arm32
To: None <source-changes@NetBSD.org>
From: Steve Woodford <scw@netbsd.org>
List: source-changes
Date: 06/24/2005 15:59:04
Module Name:	src
Committed By:	scw
Date:		Fri Jun 24 15:59:04 UTC 2005

Modified Files:
	src/sys/arch/arm/arm32: pmap.c

Log Message:
In pmap_devmap_find_pa(), use 64-bit arithmetic to handle the case where
'pa + size' == 0x0. As in, if we're passed details of a region right at
the top of physical address space.

Otherwise we'll likely hit a false-positive due to 32-bit wrap-around.


To generate a diff of this commit:
cvs rdiff -r1.152 -r1.153 src/sys/arch/arm/arm32/pmap.c

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