X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-ppc64%2Ftlb.h;h=97cb696ce68d09cf70ea46f585494e258a34a38b;hb=c7b5ebbddf7bcd3651947760f423e3783bbe6573;hp=6fafb87dc951010fe6fed4fedb5b021d6535edae;hpb=a2c21200f1c81b08cb55e417b68150bba439b646;p=linux-2.6.git diff --git a/include/asm-ppc64/tlb.h b/include/asm-ppc64/tlb.h index 6fafb87dc..97cb696ce 100644 --- a/include/asm-ppc64/tlb.h +++ b/include/asm-ppc64/tlb.h @@ -15,7 +15,14 @@ #include struct mmu_gather; -static inline void tlb_flush(struct mmu_gather *tlb); + +extern void pte_free_finish(void); + +static inline void tlb_flush(struct mmu_gather *tlb) +{ + flush_tlb_pending(); + pte_free_finish(); +} /* Avoid pulling in another include just for this */ #define check_pgt_cache() do { } while (0) @@ -29,12 +36,4 @@ static inline void tlb_flush(struct mmu_gather *tlb); #define __tlb_remove_tlb_entry(tlb, pte, address) do { } while (0) -extern void pte_free_finish(void); - -static inline void tlb_flush(struct mmu_gather *tlb) -{ - flush_tlb_pending(); - pte_free_finish(); -} - #endif /* _PPC64_TLB_H */