projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af933f4
)
OMAP: iommu: fix wrong argument in flush_cache_vmap()
author
Hiroshi DOYU
<
[email protected]
>
Fri, 28 Aug 2009 17:54:40 +0000
(10:54 -0700)
committer
Tony Lindgren
<
[email protected]
>
Fri, 28 Aug 2009 17:54:40 +0000
(10:54 -0700)
The second argument should be the end address, not the
length. Actually there will not be any effect on the behavior of this
driver since flush_cache_vmap() calls flush_cache_all() in the end.
Signed-off-by: Hiroshi DOYU <
[email protected]
>
Signed-off-by: Tony Lindgren <
[email protected]
>
arch/arm/plat-omap/iovmm.c
patch
|
blob
|
history
diff --git
a/arch/arm/plat-omap/iovmm.c
b/arch/arm/plat-omap/iovmm.c
index 2fce2c151a95fa3981fcc7d10c63136905b12c35..6fc52fcbdc033b2a85e67d10e848d4e7c4812bc8 100644
(file)
--- a/
arch/arm/plat-omap/iovmm.c
+++ b/
arch/arm/plat-omap/iovmm.c
@@
-199,7
+199,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: