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

index d32f02b618663d985b90b61d9a91996997c85433..3b24bfa3b828d7f4d89bd5ffd58a1785546fa622 100644 (file)
@@ -325,16 +325,5 @@ ENDPROC(v7_dma_unmap_area)
 
        __INITDATA
 
-       .type   v7_cache_fns, #object
-ENTRY(v7_cache_fns)
-       .long   v7_flush_icache_all
-       .long   v7_flush_kern_cache_all
-       .long   v7_flush_user_cache_all
-       .long   v7_flush_user_cache_range
-       .long   v7_coherent_kern_range
-       .long   v7_coherent_user_range
-       .long   v7_flush_kern_dcache_area
-       .long   v7_dma_map_area
-       .long   v7_dma_unmap_area
-       .long   v7_dma_flush_range
-       .size   v7_cache_fns, . - v7_cache_fns
+       @ define struct cpu_cache_fns (see <asm/cacheflush.h> and proc-macros.S)
+       define_cache_functions v7