summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/mmu-40x.h
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2009-07-24 01:15:47 +0200
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2009-08-20 02:25:09 +0200
commit25d21ad6e799cccd097b9df2a2fefe19a7e1dfcf (patch)
treecd381527a069fed6cffa8755cac177639cc48b0b /arch/powerpc/include/asm/mmu-40x.h
parentpowerpc/mm: Move around mmu_gathers definition on 64-bit (diff)
downloadlinux-25d21ad6e799cccd097b9df2a2fefe19a7e1dfcf.tar.xz
linux-25d21ad6e799cccd097b9df2a2fefe19a7e1dfcf.zip
powerpc: Add TLB management code for 64-bit Book3E
This adds the TLB miss handler assembly, the low level TLB flush routines along with the necessary hook for dealing with our virtual page tables or indirect TLB entries that need to be flushes when PTE pages are freed. There is currently no support for hugetlbfs Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm/mmu-40x.h')
-rw-r--r--arch/powerpc/include/asm/mmu-40x.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/mmu-40x.h b/arch/powerpc/include/asm/mmu-40x.h
index 776f415a36aa..34916865eaef 100644
--- a/arch/powerpc/include/asm/mmu-40x.h
+++ b/arch/powerpc/include/asm/mmu-40x.h
@@ -61,4 +61,7 @@ typedef struct {
#endif /* !__ASSEMBLY__ */
+#define mmu_virtual_psize MMU_PAGE_4K
+#define mmu_linear_psize MMU_PAGE_256M
+
#endif /* _ASM_POWERPC_MMU_40X_H_ */