Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 166502
b: refs/heads/master
c: 6716bd0
h: refs/heads/master
v: v3
  • Loading branch information
Sanjeev Premi authored and Tony Lindgren committed Sep 24, 2009
1 parent 7745507 commit 430cab4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8828880d09e4466ad6b357a31fdd242594c7b111
refs/heads/master: 6716bd06810c64ef0ca4c12462fb2eb2352a7df9
5 changes: 3 additions & 2 deletions trunk/arch/arm/plat-omap/iovmm.c
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,8 @@ static void *vmap_sg(const struct sg_table *sgt)
va += bytes;
}

flush_cache_vmap(new->addr, new->addr + total);
flush_cache_vmap((unsigned long)new->addr,
(unsigned long)(new->addr + total));
return new->addr;

err_out:
Expand Down Expand Up @@ -390,7 +391,7 @@ static void sgtable_fill_vmalloc(struct sg_table *sgt, void *_va)
}

va_end = _va + PAGE_SIZE * i;
flush_cache_vmap(_va, va_end);
flush_cache_vmap((unsigned long)_va, (unsigned long)va_end);
}

static inline void sgtable_drain_vmalloc(struct sg_table *sgt)
Expand Down

0 comments on commit 430cab4

Please sign in to comment.