ARM: mm: cache-v6: Use the new processor struct macros
authorDave Martin <dave.martin@linaro.org>
Thu, 23 Jun 2011 16:16:04 +0000 (17:16 +0100)
committerDave Martin <dave.martin@linaro.org>
Thu, 7 Jul 2011 14:31:06 +0000 (15:31 +0100)
Signed-off-by: Dave Martin <dave.martin@linaro.org>
arch/arm/mm/cache-v6.S

index 73b4a8b..74c2e5a 100644 (file)
@@ -330,16 +330,5 @@ ENDPROC(v6_dma_unmap_area)
 
        __INITDATA
 
-       .type   v6_cache_fns, #object
-ENTRY(v6_cache_fns)
-       .long   v6_flush_icache_all
-       .long   v6_flush_kern_cache_all
-       .long   v6_flush_user_cache_all
-       .long   v6_flush_user_cache_range
-       .long   v6_coherent_kern_range
-       .long   v6_coherent_user_range
-       .long   v6_flush_kern_dcache_area
-       .long   v6_dma_map_area
-       .long   v6_dma_unmap_area
-       .long   v6_dma_flush_range
-       .size   v6_cache_fns, . - v6_cache_fns
+       @ define struct cpu_cache_fns (see <asm/cacheflush.h> and proc-macros.S)
+       define_cache_functions v6