pgalloc.h 546 B

123456789101112131415161718192021222324
  1. #ifndef _ASM_POWERPC_PGALLOC_H
  2. #define _ASM_POWERPC_PGALLOC_H
  3. #ifdef __KERNEL__
  4. #include <linux/mm.h>
  5. #include <asm-generic/tlb.h>
  6. #ifdef CONFIG_PPC_BOOK3E
  7. extern void tlb_flush_pgtable(struct mmu_gather *tlb, unsigned long address);
  8. #else /* CONFIG_PPC_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/pgalloc-64.h>
  16. #else
  17. #include <asm/pgalloc-32.h>
  18. #endif
  19. #endif /* __KERNEL__ */
  20. #endif /* _ASM_POWERPC_PGALLOC_H */