]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: mm: cache-v3: Use the new processor struct macros
authorDave Martin <dave.martin@linaro.org>
Thu, 23 Jun 2011 16:13:55 +0000 (17:13 +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-v3.S

index 2e2bc406a18d69f93de13600732bb3d6fa329135..c2301f226100e371e72c46cde695c186a84b240b 100644 (file)
@@ -129,16 +129,5 @@ ENDPROC(v3_dma_map_area)
 
        __INITDATA
 
-       .type   v3_cache_fns, #object
-ENTRY(v3_cache_fns)
-       .long   v3_flush_icache_all
-       .long   v3_flush_kern_cache_all
-       .long   v3_flush_user_cache_all
-       .long   v3_flush_user_cache_range
-       .long   v3_coherent_kern_range
-       .long   v3_coherent_user_range
-       .long   v3_flush_kern_dcache_area
-       .long   v3_dma_map_area
-       .long   v3_dma_unmap_area
-       .long   v3_dma_flush_range
-       .size   v3_cache_fns, . - v3_cache_fns
+       @ define struct cpu_cache_fns (see <asm/cacheflush.h> and proc-macros.S)
+       define_cache_functions v3