Message ID | 496565EC904933469F292DDA3F1663E602CA4D894C@dlee06.ent.ti.com (mailing list archive) |
---|---|
State | Superseded |
Delegated to: | Hiroshi DOYU |
Headers | show |
diff --git a/arch/arm/plat-omap/iovmm.c b/arch/arm/plat-omap/iovmm.c index b8bcad5..8745d4e 100644 --- a/arch/arm/plat-omap/iovmm.c +++ b/arch/arm/plat-omap/iovmm.c @@ -295,7 +295,7 @@ static struct iovm_struct *alloc_iovm_area(struct iommu *obj, u32 da, prev_end = 0; list_for_each_entry(tmp, &obj->mmap, list) { - if ((prev_end <= start) && (start + bytes < tmp->da_start)) + if ((prev_end <= start) && (start + bytes <= tmp->da_start)) goto found; if (flags & IOVMF_DA_ANON)