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

index a7b276dbda11e020aeb104dc8643d7e20982efe9..4d7b467631cee24bfae1b1acbd0b66f39373bca2 100644 (file)
@@ -197,16 +197,5 @@ ENDPROC(v4wt_dma_map_area)
 
        __INITDATA
 
-       .type   v4wt_cache_fns, #object
-ENTRY(v4wt_cache_fns)
-       .long   v4wt_flush_icache_all
-       .long   v4wt_flush_kern_cache_all
-       .long   v4wt_flush_user_cache_all
-       .long   v4wt_flush_user_cache_range
-       .long   v4wt_coherent_kern_range
-       .long   v4wt_coherent_user_range
-       .long   v4wt_flush_kern_dcache_area
-       .long   v4wt_dma_map_area
-       .long   v4wt_dma_unmap_area
-       .long   v4wt_dma_flush_range
-       .size   v4wt_cache_fns, . - v4wt_cache_fns
+       @ define struct cpu_cache_fns (see <asm/cacheflush.h> and proc-macros.S)
+       define_cache_functions v4wt