ARM: mm: cache-v4wb: Use the new processor struct macros
authorDave Martin <dave.martin@linaro.org>
Thu, 23 Jun 2011 16:15:17 +0000 (17:15 +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-v4wb.S

index f40c69656d8dc2f79d0fa26b91b885b0a2d97e0d..4f2c14151ccb78b7dcba40ebb826a05f05209a25 100644 (file)
@@ -253,16 +253,5 @@ ENDPROC(v4wb_dma_unmap_area)
 
        __INITDATA
 
-       .type   v4wb_cache_fns, #object
-ENTRY(v4wb_cache_fns)
-       .long   v4wb_flush_icache_all
-       .long   v4wb_flush_kern_cache_all
-       .long   v4wb_flush_user_cache_all
-       .long   v4wb_flush_user_cache_range
-       .long   v4wb_coherent_kern_range
-       .long   v4wb_coherent_user_range
-       .long   v4wb_flush_kern_dcache_area
-       .long   v4wb_dma_map_area
-       .long   v4wb_dma_unmap_area
-       .long   v4wb_dma_flush_range
-       .size   v4wb_cache_fns, . - v4wb_cache_fns
+       @ define struct cpu_cache_fns (see <asm/cacheflush.h> and proc-macros.S)
+       define_cache_functions v4wb