1 #ifndef _ASM_POWERPC_NOHASH_PGALLOC_H
2 #define _ASM_POWERPC_NOHASH_PGALLOC_H
3 
4 #include <linux/mm.h>
5 
6 extern void tlb_remove_table(struct mmu_gather *tlb, void *table);
7 #ifdef CONFIG_PPC64
8 extern void tlb_flush_pgtable(struct mmu_gather *tlb, unsigned long address);
9 #else
10 /* 44x etc which is BOOKE not BOOK3E */
11 static inline void tlb_flush_pgtable(struct mmu_gather *tlb,
12 				     unsigned long address)
13 {
14 
15 }
16 #endif /* !CONFIG_PPC_BOOK3E */
17 
18 #ifdef CONFIG_PPC64
19 #include <asm/nohash/64/pgalloc.h>
20 #else
21 #include <asm/nohash/32/pgalloc.h>
22 #endif
23 #endif /* _ASM_POWERPC_NOHASH_PGALLOC_H */
24