Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 57792
b: refs/heads/master
c: ac1bd53
h: refs/heads/master
v: v3
  • Loading branch information
Aubrey Li authored and Bryan Wu committed Jun 11, 2007
1 parent c88d7bd commit 0a8fe66
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: db94d9d24526f83c432f0e5620078f02f7ae76ca
refs/heads/master: ac1bd53c067397947b5d805c631519282f5678fe
6 changes: 3 additions & 3 deletions trunk/arch/blackfin/kernel/bfin_dma_5xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ unsigned short get_dma_curr_ycount(unsigned int channel)
}
EXPORT_SYMBOL(get_dma_curr_ycount);

void *_dma_memcpy(void *dest, const void *src, size_t size)
static void *__dma_memcpy(void *dest, const void *src, size_t size)
{
int direction; /* 1 - address decrease, 0 - address increase */
int flag_align; /* 1 - address aligned, 0 - address unaligned */
Expand Down Expand Up @@ -744,8 +744,8 @@ void *dma_memcpy(void *dest, const void *src, size_t size)
bulk = (size >> 16) << 16;
rest = size - bulk;
if (bulk)
_dma_memcpy(dest, src, bulk);
addr = _dma_memcpy(dest+bulk, src+bulk, rest);
__dma_memcpy(dest, src, bulk);
addr = __dma_memcpy(dest+bulk, src+bulk, rest);
return addr;
}

Expand Down

0 comments on commit 0a8fe66

Please sign in to comment.