svn commit: r286627 - head/sys/arm64/arm64
Andrew Turner
andrew at FreeBSD.org
Tue Aug 11 12:32:18 UTC 2015
Author: andrew
Date: Tue Aug 11 12:32:17 2015
New Revision: 286627
URL: https://svnweb.freebsd.org/changeset/base/286627
Log:
Check the correct value in db_validate_address, pmap_extract returns 0 on
failure.
Sponsored by: ABT Systems Ltd
Modified:
head/sys/arm64/arm64/db_interface.c
Modified: head/sys/arm64/arm64/db_interface.c
==============================================================================
--- head/sys/arm64/arm64/db_interface.c Tue Aug 11 12:22:16 2015 (r286626)
+++ head/sys/arm64/arm64/db_interface.c Tue Aug 11 12:32:17 2015 (r286627)
@@ -119,7 +119,7 @@ db_validate_address(vm_offset_t addr)
else
pmap = p->p_vmspace->vm_map.pmap;
- return (pmap_extract(pmap, addr) == FALSE);
+ return (pmap_extract(pmap, addr) != 0);
}
/*
More information about the svn-src-head
mailing list