aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/cacheflush.h
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2009-11-26 11:24:19 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-02-15 10:22:23 -0500
commit702b94bff3c50542a6e4ab9a4f4cef093262fe65 (patch)
tree2ae468b08de2aeb0e65ab3830c40c7a84dbbdb5e /arch/arm/include/asm/cacheflush.h
parenta9c9147eb9b1dba0ce567a41897c7773b4d1b0bc (diff)
ARM: dma-mapping: remove dmac_clean_range and dmac_inv_range
These are now unused, and so can be removed. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Tested-By: Santosh Shilimkar <santosh.shilimkar@ti.com>
Diffstat (limited to 'arch/arm/include/asm/cacheflush.h')
-rw-r--r--arch/arm/include/asm/cacheflush.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/arch/arm/include/asm/cacheflush.h b/arch/arm/include/asm/cacheflush.h
index 4c733236e342..e29088587412 100644
--- a/arch/arm/include/asm/cacheflush.h
+++ b/arch/arm/include/asm/cacheflush.h
@@ -182,21 +182,6 @@
182 * DMA Cache Coherency 182 * DMA Cache Coherency
183 * =================== 183 * ===================
184 * 184 *
185 * dma_inv_range(start, end)
186 *
187 * Invalidate (discard) the specified virtual address range.
188 * May not write back any entries. If 'start' or 'end'
189 * are not cache line aligned, those lines must be written
190 * back.
191 * - start - virtual start address
192 * - end - virtual end address
193 *
194 * dma_clean_range(start, end)
195 *
196 * Clean (write back) the specified virtual address range.
197 * - start - virtual start address
198 * - end - virtual end address
199 *
200 * dma_flush_range(start, end) 185 * dma_flush_range(start, end)
201 * 186 *
202 * Clean and invalidate the specified virtual address range. 187 * Clean and invalidate the specified virtual address range.
@@ -216,8 +201,6 @@ struct cpu_cache_fns {
216 void (*dma_map_area)(const void *, size_t, int); 201 void (*dma_map_area)(const void *, size_t, int);
217 void (*dma_unmap_area)(const void *, size_t, int); 202 void (*dma_unmap_area)(const void *, size_t, int);
218 203
219 void (*dma_inv_range)(const void *, const void *);
220 void (*dma_clean_range)(const void *, const void *);
221 void (*dma_flush_range)(const void *, const void *); 204 void (*dma_flush_range)(const void *, const void *);
222}; 205};
223 206
@@ -249,8 +232,6 @@ extern struct cpu_cache_fns cpu_cache;
249 */ 232 */
250#define dmac_map_area cpu_cache.dma_map_area 233#define dmac_map_area cpu_cache.dma_map_area
251#define dmac_unmap_area cpu_cache.dma_unmap_area 234#define dmac_unmap_area cpu_cache.dma_unmap_area
252#define dmac_inv_range cpu_cache.dma_inv_range
253#define dmac_clean_range cpu_cache.dma_clean_range
254#define dmac_flush_range cpu_cache.dma_flush_range 235#define dmac_flush_range cpu_cache.dma_flush_range
255 236
256#else 237#else
@@ -277,14 +258,10 @@ extern void __cpuc_flush_dcache_area(void *, size_t);
277 */ 258 */
278#define dmac_map_area __glue(_CACHE,_dma_map_area) 259#define dmac_map_area __glue(_CACHE,_dma_map_area)
279#define dmac_unmap_area __glue(_CACHE,_dma_unmap_area) 260#define dmac_unmap_area __glue(_CACHE,_dma_unmap_area)
280#define dmac_inv_range __glue(_CACHE,_dma_inv_range)
281#define dmac_clean_range __glue(_CACHE,_dma_clean_range)
282#define dmac_flush_range __glue(_CACHE,_dma_flush_range) 261#define dmac_flush_range __glue(_CACHE,_dma_flush_range)
283 262
284extern void dmac_map_area(const void *, size_t, int); 263extern void dmac_map_area(const void *, size_t, int);
285extern void dmac_unmap_area(const void *, size_t, int); 264extern void dmac_unmap_area(const void *, size_t, int);
286extern void dmac_inv_range(const void *, const void *);
287extern void dmac_clean_range(const void *, const void *);
288extern void dmac_flush_range(const void *, const void *); 265extern void dmac_flush_range(const void *, const void *);
289 266
290#endif 267#endif