ARM: mm: tlb-v3: Use the new processor struct macros
authorDave Martin <dave.martin@linaro.org>
Thu, 23 Jun 2011 16:29:04 +0000 (17:29 +0100)
committerDave Martin <dave.martin@linaro.org>
Thu, 7 Jul 2011 14:31:11 +0000 (15:31 +0100)
Signed-off-by: Dave Martin <dave.martin@linaro.org>
arch/arm/mm/tlb-v3.S

index c10786e..d253995 100644 (file)
@@ -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