Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1#ifndef _ASM_POWERPC_PGALLOC_H
2#define _ASM_POWERPC_PGALLOC_H
3#ifdef __KERNEL__
4
5#include <linux/mm.h>
6#include <asm-generic/tlb.h>
7
8#ifdef CONFIG_PPC_BOOK3E
9extern void tlb_flush_pgtable(struct mmu_gather *tlb, unsigned long address);
10#else /* CONFIG_PPC_BOOK3E */
11static inline void tlb_flush_pgtable(struct mmu_gather *tlb,
12 unsigned long address)
13{
14}
15#endif /* !CONFIG_PPC_BOOK3E */
16
17#ifdef CONFIG_PPC64
18#include <asm/pgalloc-64.h>
19#else
20#include <asm/pgalloc-32.h>
21#endif
22
23#endif /* __KERNEL__ */
24#endif /* _ASM_POWERPC_PGALLOC_H */