浏览代码

ARM: mm: tlb-fa: Use the new processor struct macros

Signed-off-by: Dave Martin <dave.martin@linaro.org>
Dave Martin 14 年之前
父节点
当前提交
27eebe4cc9
共有 1 个文件被更改,包括 2 次插入6 次删除
  1. 2 6
      arch/arm/mm/tlb-fa.S

+ 2 - 6
arch/arm/mm/tlb-fa.S

@@ -67,9 +67,5 @@ ENTRY(fa_flush_kern_tlb_range)
 
 	__INITDATA
 
-	.type	fa_tlb_fns, #object
-ENTRY(fa_tlb_fns)
-	.long	fa_flush_user_tlb_range
-	.long	fa_flush_kern_tlb_range
-	.long	fa_tlb_flags
-	.size	fa_tlb_fns, . - fa_tlb_fns
+	/* define struct cpu_tlb_fns (see <asm/tlbflush.h> and proc-macros.S) */
+	define_tlb_functions fa, fa_tlb_flags