pgalloc.h 585 B

12345678910111213141516171819202122232425
  1. #ifndef _ASM_POWERPC_PGALLOC_H
  2. #define _ASM_POWERPC_PGALLOC_H
  3. #ifdef __KERNEL__
  4. #include <linux/mm.h>
  5. #ifdef CONFIG_PPC_BOOK3E
  6. extern void tlb_flush_pgtable(struct mmu_gather *tlb, unsigned long address);
  7. #else /* CONFIG_PPC_BOOK3E */
  8. static inline void tlb_flush_pgtable(struct mmu_gather *tlb,
  9. unsigned long address)
  10. {
  11. }
  12. #endif /* !CONFIG_PPC_BOOK3E */
  13. extern void tlb_remove_table(struct mmu_gather *tlb, void *table);
  14. #ifdef CONFIG_PPC64
  15. #include <asm/pgalloc-64.h>
  16. #else
  17. #include <asm/pgalloc-32.h>
  18. #endif
  19. #endif /* __KERNEL__ */
  20. #endif /* _ASM_POWERPC_PGALLOC_H */