Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris...
[linux/fpc-iii.git] / arch / powerpc / include / asm / pgalloc.h
blobe9a9f60e596df4c4ef900965498e9f99565915ad
1 #ifndef _ASM_POWERPC_PGALLOC_H
2 #define _ASM_POWERPC_PGALLOC_H
3 #ifdef __KERNEL__
5 #include <linux/mm.h>
6 #include <asm-generic/tlb.h>
8 #ifdef CONFIG_PPC_BOOK3E
9 extern void tlb_flush_pgtable(struct mmu_gather *tlb, unsigned long address);
10 #else /* CONFIG_PPC_BOOK3E */
11 static inline void tlb_flush_pgtable(struct mmu_gather *tlb,
12 unsigned long address)
15 #endif /* !CONFIG_PPC_BOOK3E */
17 #ifdef CONFIG_PPC64
18 #include <asm/pgalloc-64.h>
19 #else
20 #include <asm/pgalloc-32.h>
21 #endif
23 #endif /* __KERNEL__ */
24 #endif /* _ASM_POWERPC_PGALLOC_H */