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

index cb829ca7845d0d48293b4ff8c2eb71c4e751ddc3..c04598fa4d4aaa4043274381b36e65fb799990cf 100644 (file)
@@ -69,9 +69,5 @@ ENTRY(v4wb_flush_kern_tlb_range)
 
        __INITDATA
 
-       .type   v4wb_tlb_fns, #object
-ENTRY(v4wb_tlb_fns)
-       .long   v4wb_flush_user_tlb_range
-       .long   v4wb_flush_kern_tlb_range
-       .long   v4wb_tlb_flags
-       .size   v4wb_tlb_fns, . - v4wb_tlb_fns
+       /* define struct cpu_tlb_fns (see <asm/tlbflush.h> and proc-macros.S) */
+       define_tlb_functions v4wb, v4wb_tlb_flags