]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/arm/include/asm/tlb.h
mm: refactor TLB gathering API
[karo-tx-linux.git] / arch / arm / include / asm / tlb.h
index 3f2eb76243e3c5f9d387959acae740ce871e5afa..7f5b2a2d3861947cb8c8196e40e4d400c39d9483 100644 (file)
@@ -148,7 +148,8 @@ static inline void tlb_flush_mmu(struct mmu_gather *tlb)
 }
 
 static inline void
-tlb_gather_mmu(struct mmu_gather *tlb, struct mm_struct *mm, unsigned long start, unsigned long end)
+arch_tlb_gather_mmu(struct mmu_gather *tlb, struct mm_struct *mm,
+                       unsigned long start, unsigned long end)
 {
        tlb->mm = mm;
        tlb->fullmm = !(start | (end+1));
@@ -166,7 +167,8 @@ tlb_gather_mmu(struct mmu_gather *tlb, struct mm_struct *mm, unsigned long start
 }
 
 static inline void
-tlb_finish_mmu(struct mmu_gather *tlb, unsigned long start, unsigned long end)
+arch_tlb_finish_mmu(struct mmu_gather *tlb,
+                       unsigned long start, unsigned long end)
 {
        tlb_flush_mmu(tlb);