diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2007-10-09 09:17:01 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2007-10-12 18:43:45 -0400 |
commit | 84aa462e2c2cd1b921f6b8e283f8d41666e02e8e (patch) | |
tree | 9fd1eb1df658b44f706c6b1768b335b73774fc4b /arch/arm/mm | |
parent | 353ba84acdd551c737ac71577322393fceb969f0 (diff) |
[ARM] Rename consistent_sync() as dma_cache_maint()
consistent_sync() is used to handle the cache maintainence issues with
DMA operations. Since we've now removed the misuse of this function
from the two MTD drivers, rename it to prevent future mis-use.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mm')
-rw-r--r-- | arch/arm/mm/consistent.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mm/consistent.c b/arch/arm/mm/consistent.c index 1f9f94f9af4b..cefdf2f9f26e 100644 --- a/arch/arm/mm/consistent.c +++ b/arch/arm/mm/consistent.c | |||
@@ -481,7 +481,7 @@ core_initcall(consistent_init); | |||
481 | * platforms with CONFIG_DMABOUNCE. | 481 | * platforms with CONFIG_DMABOUNCE. |
482 | * Use the driver DMA support - see dma-mapping.h (dma_sync_*) | 482 | * Use the driver DMA support - see dma-mapping.h (dma_sync_*) |
483 | */ | 483 | */ |
484 | void consistent_sync(const void *start, size_t size, int direction) | 484 | void dma_cache_maint(const void *start, size_t size, int direction) |
485 | { | 485 | { |
486 | const void *end = start + size; | 486 | const void *end = start + size; |
487 | 487 | ||
@@ -504,4 +504,4 @@ void consistent_sync(const void *start, size_t size, int direction) | |||
504 | BUG(); | 504 | BUG(); |
505 | } | 505 | } |
506 | } | 506 | } |
507 | EXPORT_SYMBOL(consistent_sync); | 507 | EXPORT_SYMBOL(dma_cache_maint); |