ARM: mm: tlb-v4wbi: Use the new processor struct macros
authorDave Martin <dave.martin@linaro.org>
Thu, 23 Jun 2011 16:30:39 +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-v4wbi.S

index 60cfc4a25dd5bff8e75855739ea6af3d1297e517..1f6062b6c1c170c9a5e1ab3f482ca16843637a98 100644 (file)
@@ -60,9 +60,5 @@ ENTRY(v4wbi_flush_kern_tlb_range)
 
        __INITDATA
 
-       .type   v4wbi_tlb_fns, #object
-ENTRY(v4wbi_tlb_fns)
-       .long   v4wbi_flush_user_tlb_range
-       .long   v4wbi_flush_kern_tlb_range
-       .long   v4wbi_tlb_flags
-       .size   v4wbi_tlb_fns, . - v4wbi_tlb_fns
+       /* define struct cpu_tlb_fns (see <asm/tlbflush.h> and proc-macros.S) */
+       define_tlb_functions v4wbi, v4wbi_tlb_flags