summaryrefslogtreecommitdiff
path: root/arch/arm/mm/proc-arm1026.S
diff options
context:
space:
mode:
authorHari Kanigeri <h-kanigeri2@ti.com>2011-05-31 09:24:50 +0100
committerAndy Green <andy.green@linaro.org>2011-05-31 11:06:20 +0100
commit76e92cde46ebcafe2a9ddc8602b5ff023833d5b2 (patch)
tree1f39af091a1a64fb7f96790045a84224880895d6 /arch/arm/mm/proc-arm1026.S
parent2a9d8f786814b7144537de8317f9cc3e00260f3a (diff)
OMAP: SYSLINK: cacheflush
Revert "ARM: dma-mapping: remove dmac_clean_range and dmac_inv_range" This reverts commit 702b94bff3c50542a6e4ab9a4f4cef093262fe65 Signed-off-by: Hari Kanigeri <h-kanigeri2@ti.com>
Diffstat (limited to 'arch/arm/mm/proc-arm1026.S')
-rw-r--r--arch/arm/mm/proc-arm1026.S6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/mm/proc-arm1026.S b/arch/arm/mm/proc-arm1026.S
index 686043ee728..9f0b367fa33 100644
--- a/arch/arm/mm/proc-arm1026.S
+++ b/arch/arm/mm/proc-arm1026.S
@@ -251,7 +251,7 @@ ENTRY(arm1026_flush_kern_dcache_area)
*
* (same as v4wb)
*/
-arm1026_dma_inv_range:
+ENTRY(arm1026_dma_inv_range)
mov ip, #0
#ifndef CONFIG_CPU_DCACHE_DISABLE
tst r0, #CACHE_DLINESIZE - 1
@@ -277,7 +277,7 @@ arm1026_dma_inv_range:
*
* (same as v4wb)
*/
-arm1026_dma_clean_range:
+ENTRY(arm1026_dma_clean_range)
mov ip, #0
#ifndef CONFIG_CPU_DCACHE_DISABLE
bic r0, r0, #CACHE_DLINESIZE - 1
@@ -343,6 +343,8 @@ ENTRY(arm1026_cache_fns)
.long arm1026_flush_kern_dcache_area
.long arm1026_dma_map_area
.long arm1026_dma_unmap_area
+ .long arm1026_dma_inv_range
+ .long arm1026_dma_clean_range
.long arm1026_dma_flush_range
.align 5