瀏覽代碼

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

Signed-off-by: Dave Martin <dave.martin@linaro.org>
Dave Martin 14 年之前
父節點
當前提交
d7b84d2438
共有 1 個文件被更改,包括 2 次插入6 次删除
  1. 2 6
      arch/arm/mm/tlb-v3.S

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

@@ -44,9 +44,5 @@ ENTRY(v3_flush_kern_tlb_range)
 
 	__INITDATA
 
-	.type	v3_tlb_fns, #object
-ENTRY(v3_tlb_fns)
-	.long	v3_flush_user_tlb_range
-	.long	v3_flush_kern_tlb_range
-	.long	v3_tlb_flags
-	.size	v3_tlb_fns, . - v3_tlb_fns
+	/* define struct cpu_tlb_fns (see <asm/tlbflush.h> and proc-macros.S) */
+	define_tlb_functions v3, v3_tlb_flags