svn commit: r188538 - projects/vap7/sys/arm/arm
Sam Leffler
sam at FreeBSD.org
Thu Feb 12 13:50:00 PST 2009
Author: sam
Date: Thu Feb 12 21:49:59 2009
New Revision: 188538
URL: http://svn.freebsd.org/changeset/base/188538
Log:
merge r188420: correct cache line invalidation for bounce buffer
Modified:
projects/vap7/sys/arm/arm/busdma_machdep.c
Modified: projects/vap7/sys/arm/arm/busdma_machdep.c
==============================================================================
--- projects/vap7/sys/arm/arm/busdma_machdep.c Thu Feb 12 21:01:16 2009 (r188537)
+++ projects/vap7/sys/arm/arm/busdma_machdep.c Thu Feb 12 21:49:59 2009 (r188538)
@@ -1165,7 +1165,7 @@ _bus_dma_buf_is_in_bp(bus_dmamap_t map,
STAILQ_FOREACH(bpage, &map->bpages, links) {
if ((vm_offset_t)buf >= bpage->datavaddr &&
- (vm_offset_t)buf + len < bpage->datavaddr +
+ (vm_offset_t)buf + len <= bpage->datavaddr +
bpage->datacount)
return (1);
}
More information about the svn-src-projects
mailing list