diff options
author | Dan Williams <dan.j.williams@intel.com> | 2006-11-21 22:57:23 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-11-22 22:45:57 +0000 |
commit | 105ef9a0af1469a9dd906839dd4628aa9c013f58 (patch) | |
tree | 932c93e6fe5c11866b2b6348360a61f4528a0de1 /arch/arm | |
parent | 8de35efb6afa75f25415d54e21221eea759db261 (diff) | |
download | op-kernel-dev-105ef9a0af1469a9dd906839dd4628aa9c013f58.zip op-kernel-dev-105ef9a0af1469a9dd906839dd4628aa9c013f58.tar.gz |
[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 'arch/arm')
-rw-r--r-- | arch/arm/mm/consistent.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mm/consistent.c b/arch/arm/mm/consistent.c index 50e6b6b..b797217 100644 --- a/arch/arm/mm/consistent.c +++ b/arch/arm/mm/consistent.c @@ -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) { |