소스 검색

ARM: mm: cache-v4: Use the new processor struct macros

Signed-off-by: Dave Martin <dave.martin@linaro.org>
Dave Martin 14 년 전
부모
커밋
54d4e9ebbc
1개의 변경된 파일2개의 추가작업 그리고 13개의 파일을 삭제
  1. 2 13
      arch/arm/mm/cache-v4.S

+ 2 - 13
arch/arm/mm/cache-v4.S

@@ -141,16 +141,5 @@ ENDPROC(v4_dma_map_area)
 
 	__INITDATA
 
-	.type	v4_cache_fns, #object
-ENTRY(v4_cache_fns)
-	.long	v4_flush_icache_all
-	.long	v4_flush_kern_cache_all
-	.long	v4_flush_user_cache_all
-	.long	v4_flush_user_cache_range
-	.long	v4_coherent_kern_range
-	.long	v4_coherent_user_range
-	.long	v4_flush_kern_dcache_area
-	.long	v4_dma_map_area
-	.long	v4_dma_unmap_area
-	.long	v4_dma_flush_range
-	.size	v4_cache_fns, . - v4_cache_fns
+	@ define struct cpu_cache_fns (see <asm/cacheflush.h> and proc-macros.S)
+	define_cache_functions v4