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

index 1fa6f71..0720163 100644 (file)
@@ -242,16 +242,5 @@ ENDPROC(fa_dma_unmap_area)
 
        __INITDATA
 
-       .type   fa_cache_fns, #object
-ENTRY(fa_cache_fns)
-       .long   fa_flush_icache_all
-       .long   fa_flush_kern_cache_all
-       .long   fa_flush_user_cache_all
-       .long   fa_flush_user_cache_range
-       .long   fa_coherent_kern_range
-       .long   fa_coherent_user_range
-       .long   fa_flush_kern_dcache_area
-       .long   fa_dma_map_area
-       .long   fa_dma_unmap_area
-       .long   fa_dma_flush_range
-       .size   fa_cache_fns, . - fa_cache_fns
+       @ define struct cpu_cache_fns (see <asm/cacheflush.h> and proc-macros.S)
+       define_cache_functions fa