x86/mm/pat: Don't report PAT on CPUs that don't support it
[linux/fpc-iii.git] / arch / powerpc / include / asm / nohash / pgalloc.h
blobb39ec956d71e87e91a2f3da8026eaad3d1c65735
1 #ifndef _ASM_POWERPC_NOHASH_PGALLOC_H
2 #define _ASM_POWERPC_NOHASH_PGALLOC_H
4 #include <linux/mm.h>
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)
16 #endif /* !CONFIG_PPC_BOOK3E */
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 */