diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-07-23 23:15:47 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-08-20 10:25:09 +1000 |
commit | 25d21ad6e799cccd097b9df2a2fefe19a7e1dfcf (patch) | |
tree | cd381527a069fed6cffa8755cac177639cc48b0b /arch/powerpc/include/asm/mmu-hash32.h | |
parent | a8f7758c1c52a13e031266483efd5525157e43e9 (diff) | |
download | linux-stable-25d21ad6e799cccd097b9df2a2fefe19a7e1dfcf.tar.gz linux-stable-25d21ad6e799cccd097b9df2a2fefe19a7e1dfcf.tar.bz2 linux-stable-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-hash32.h')
-rw-r--r-- | arch/powerpc/include/asm/mmu-hash32.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/mmu-hash32.h b/arch/powerpc/include/asm/mmu-hash32.h index 16b1a1e77e64..382fc689f204 100644 --- a/arch/powerpc/include/asm/mmu-hash32.h +++ b/arch/powerpc/include/asm/mmu-hash32.h @@ -80,4 +80,10 @@ typedef struct { #endif /* !__ASSEMBLY__ */ +/* We happily ignore the smaller BATs on 601, we don't actually use + * those definitions on hash32 at the moment anyway + */ +#define mmu_virtual_psize MMU_PAGE_4K +#define mmu_linear_psize MMU_PAGE_256M + #endif /* _ASM_POWERPC_MMU_HASH32_H_ */ |