summaryrefslogtreecommitdiffstats
path: root/include/asm-arm
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2006-11-21 22:57:23 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-11-22 23:45:57 +0100
commit105ef9a0af1469a9dd906839dd4628aa9c013f58 (patch)
tree932c93e6fe5c11866b2b6348360a61f4528a0de1 /include/asm-arm
parent[ARM] ebsa110: fix warnings generated by asm/arch/io.h (diff)
downloadlinux-105ef9a0af1469a9dd906839dd4628aa9c013f58.tar.xz
linux-105ef9a0af1469a9dd906839dd4628aa9c013f58.zip
[ARM] 3942/1: ARM: comment: consistent_sync should not be called directly
/* * 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_*) */ Signed-off-by: Dan Williams <dan.j.williams@intel.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm')
-rw-r--r--include/asm-arm/dma-mapping.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-arm/dma-mapping.h b/include/asm-arm/dma-mapping.h
index 55eb4dc3253d..666617711c81 100644
--- a/include/asm-arm/dma-mapping.h
+++ b/include/asm-arm/dma-mapping.h
@@ -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);