Commit | Line | Data |
---|---|---|
047ea784 PM |
1 | #ifndef _ASM_POWERPC_PGALLOC_H |
2 | #define _ASM_POWERPC_PGALLOC_H | |
88ced031 | 3 | #ifdef __KERNEL__ |
047ea784 | 4 | |
0186f47e KG |
5 | #include <linux/mm.h> |
6 | ||
c7cc58a1 BH |
7 | #ifdef CONFIG_PPC_BOOK3E |
8 | extern void tlb_flush_pgtable(struct mmu_gather *tlb, unsigned long address); | |
9 | #else /* CONFIG_PPC_BOOK3E */ | |
10 | static inline void tlb_flush_pgtable(struct mmu_gather *tlb, | |
11 | unsigned long address) | |
12 | { | |
13 | } | |
14 | #endif /* !CONFIG_PPC_BOOK3E */ | |
15 | ||
fb7332a9 WD |
16 | extern void tlb_remove_table(struct mmu_gather *tlb, void *table); |
17 | ||
f88df14b DG |
18 | #ifdef CONFIG_PPC64 |
19 | #include <asm/pgalloc-64.h> | |
047ea784 | 20 | #else |
f88df14b | 21 | #include <asm/pgalloc-32.h> |
3c726f8d | 22 | #endif |
1da177e4 | 23 | |
88ced031 | 24 | #endif /* __KERNEL__ */ |
047ea784 | 25 | #endif /* _ASM_POWERPC_PGALLOC_H */ |