2005-11-19 09:17:32 +00:00
|
|
|
#ifndef _ASM_POWERPC_PGALLOC_H
|
|
|
|
#define _ASM_POWERPC_PGALLOC_H
|
2005-12-16 21:43:46 +00:00
|
|
|
#ifdef __KERNEL__
|
2005-11-19 09:17:32 +00:00
|
|
|
|
2008-11-19 12:50:04 +00:00
|
|
|
#include <linux/mm.h>
|
|
|
|
|
2009-07-23 23:15:28 +00: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 */
|
|
|
|
|
2014-10-29 10:03:09 +00:00
|
|
|
extern void tlb_remove_table(struct mmu_gather *tlb, void *table);
|
|
|
|
|
2007-04-30 06:30:56 +00:00
|
|
|
#ifdef CONFIG_PPC64
|
|
|
|
#include <asm/pgalloc-64.h>
|
2005-11-19 09:17:32 +00:00
|
|
|
#else
|
2007-04-30 06:30:56 +00:00
|
|
|
#include <asm/pgalloc-32.h>
|
2005-11-07 00:06:55 +00:00
|
|
|
#endif
|
2005-04-16 22:20:36 +00:00
|
|
|
|
2005-12-16 21:43:46 +00:00
|
|
|
#endif /* __KERNEL__ */
|
2005-11-19 09:17:32 +00:00
|
|
|
#endif /* _ASM_POWERPC_PGALLOC_H */
|