]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - arch/sh/include/asm/tlb.h
mm: refactor TLB gathering API
[linux.git] / arch / sh / include / asm / tlb.h
index 46e0d635e36f711aff9a88c45955905d7fbf3cc2..89786560dbd4ab119b16d213a9a163ac78f8567f 100644 (file)
@@ -36,7 +36,8 @@ static inline void init_tlb_gather(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->start = start;
@@ -47,7 +48,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)
 {
        if (tlb->fullmm)
                flush_tlb_mm(tlb->mm);