diff mbox

[1/1] omap iommu: fix wrong argument in flush_cache_vmap()

Message ID 1249982710-31681-1-git-send-email-Hiroshi.DOYU@nokia.com (mailing list archive)
State Accepted
Commit 860936a13ed727d5b83649eb5665fcc5392c2784
Headers show

Commit Message

Hiroshi DOYU Aug. 11, 2009, 9:25 a.m. UTC
None

Comments

Tony Lindgren Aug. 12, 2009, 11:25 a.m. UTC | #1
This patch has been applied to the linux-omap
by youw fwiendly patch wobot.

Branch in linux-omap: omap3-upstream

Initial commit ID (Likely to change): 860936a13ed727d5b83649eb5665fcc5392c2784

PatchWorks
http://patchwork.kernel.org/patch/40595/

Git (Likely to change, and takes a while to get mirrored)
http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git;a=commit;h=860936a13ed727d5b83649eb5665fcc5392c2784


--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/arm/plat-omap/iovmm.c b/arch/arm/plat-omap/iovmm.c
index e1b03b9..18ef59a 100644
--- a/arch/arm/plat-omap/iovmm.c
+++ b/arch/arm/plat-omap/iovmm.c
@@ -194,7 +194,7 @@  static void *vmap_sg(const struct sg_table *sgt)
 		va += bytes;
 	}
 
-	flush_cache_vmap(new->addr, total);
+	flush_cache_vmap(new->addr, new->addr + total);
 	return new->addr;
 
 err_out: