Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 41061
b: refs/heads/master
c: 105ef9a
h: refs/heads/master
i:
  41059: 8fe114a
v: v3
  • Loading branch information
Dan Williams authored and Russell King committed Nov 22, 2006
1 parent cc863c9 commit c677854
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8de35efb6afa75f25415d54e21221eea759db261
refs/heads/master: 105ef9a0af1469a9dd906839dd4628aa9c013f58
3 changes: 3 additions & 0 deletions trunk/arch/arm/mm/consistent.c
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,9 @@ core_initcall(consistent_init);

/*
* Make an area consistent for devices.
* Note: Drivers should NOT use this function directly, as it will break
* platforms with CONFIG_DMABOUNCE.
* Use the driver DMA support - see dma-mapping.h (dma_sync_*)
*/
void consistent_sync(void *vaddr, size_t size, int direction)
{
Expand Down
4 changes: 4 additions & 0 deletions trunk/include/asm-arm/dma-mapping.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
* uncached, unwrite-buffered mapped memory space for use with DMA
* devices. This is the "generic" version. The PCI specific version
* is in pci.h
*
* Note: Drivers should NOT use this function directly, as it will break
* platforms with CONFIG_DMABOUNCE.
* Use the driver DMA support - see dma-mapping.h (dma_sync_*)
*/
extern void consistent_sync(void *kaddr, size_t size, int rw);

Expand Down

0 comments on commit c677854

Please sign in to comment.