diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2009-04-02 08:07:10 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2009-05-14 08:50:27 -0400 |
commit | c52399bece85cd4b157dd772e9f20551f9f18d2f (patch) | |
tree | 1f503f581735e0f4e08bb9bd2a128a89396d7828 /arch/mips/include/asm/pgtable-64.h | |
parent | 740ebe4a54fae1705705ec87ce511b16ffb50659 (diff) |
MIPS: Cavium: Add support for 8k and 32k page sizes.
Beyond the requirements of the architecture standard Cavium also supports
8k and 32k pages.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Acked-by: David Daney <ddaney@caviumnetworks.com>
Diffstat (limited to 'arch/mips/include/asm/pgtable-64.h')
-rw-r--r-- | arch/mips/include/asm/pgtable-64.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/mips/include/asm/pgtable-64.h b/arch/mips/include/asm/pgtable-64.h index 943515f0ef87..4ed9d1bba2ba 100644 --- a/arch/mips/include/asm/pgtable-64.h +++ b/arch/mips/include/asm/pgtable-64.h | |||
@@ -83,6 +83,12 @@ | |||
83 | #define PMD_ORDER 0 | 83 | #define PMD_ORDER 0 |
84 | #define PTE_ORDER 0 | 84 | #define PTE_ORDER 0 |
85 | #endif | 85 | #endif |
86 | #ifdef CONFIG_PAGE_SIZE_32KB | ||
87 | #define PGD_ORDER 0 | ||
88 | #define PUD_ORDER aieeee_attempt_to_allocate_pud | ||
89 | #define PMD_ORDER 0 | ||
90 | #define PTE_ORDER 0 | ||
91 | #endif | ||
86 | #ifdef CONFIG_PAGE_SIZE_64KB | 92 | #ifdef CONFIG_PAGE_SIZE_64KB |
87 | #define PGD_ORDER 0 | 93 | #define PGD_ORDER 0 |
88 | #define PUD_ORDER aieeee_attempt_to_allocate_pud | 94 | #define PUD_ORDER aieeee_attempt_to_allocate_pud |