2005-11-19 16:17:32 +07:00
|
|
|
#ifndef _ASM_POWERPC_PGALLOC_H
|
|
|
|
#define _ASM_POWERPC_PGALLOC_H
|
2005-12-17 04:43:46 +07:00
|
|
|
#ifdef __KERNEL__
|
2005-11-19 16:17:32 +07:00
|
|
|
|
2008-11-19 19:50:04 +07:00
|
|
|
#include <linux/mm.h>
|
2013-04-28 16:37:32 +07:00
|
|
|
#include <asm-generic/tlb.h>
|
2008-11-19 19:50:04 +07:00
|
|
|
|
2009-07-24 06:15:28 +07:00
|
|
|
#ifdef CONFIG_PPC_BOOK3E
|
|
|
|
extern void tlb_flush_pgtable(struct mmu_gather *tlb, unsigned long address);
|
|
|
|
#else /* CONFIG_PPC_BOOK3E */
|
|
|
|
static inline void tlb_flush_pgtable(struct mmu_gather *tlb,
|
|
|
|
unsigned long address)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
#endif /* !CONFIG_PPC_BOOK3E */
|
|
|
|
|
2007-04-30 13:30:56 +07:00
|
|
|
#ifdef CONFIG_PPC64
|
|
|
|
#include <asm/pgalloc-64.h>
|
2005-11-19 16:17:32 +07:00
|
|
|
#else
|
2007-04-30 13:30:56 +07:00
|
|
|
#include <asm/pgalloc-32.h>
|
2005-11-07 07:06:55 +07:00
|
|
|
#endif
|
2005-04-17 05:20:36 +07:00
|
|
|
|
2005-12-17 04:43:46 +07:00
|
|
|
#endif /* __KERNEL__ */
|
2005-11-19 16:17:32 +07:00
|
|
|
#endif /* _ASM_POWERPC_PGALLOC_H */
|