pgalloc.h 588 B

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