diff options
Diffstat (limited to 'include/asm-sparc')
-rw-r--r-- | include/asm-sparc/mmu_64.h | 4 | ||||
-rw-r--r-- | include/asm-sparc/page_64.h | 4 | ||||
-rw-r--r-- | include/asm-sparc/pgtable_64.h | 6 |
3 files changed, 0 insertions, 14 deletions
diff --git a/include/asm-sparc/mmu_64.h b/include/asm-sparc/mmu_64.h index 8abc58f0f9d7..9067dc500535 100644 --- a/include/asm-sparc/mmu_64.h +++ b/include/asm-sparc/mmu_64.h | |||
@@ -34,10 +34,6 @@ | |||
34 | #define CTX_PGSZ_BASE CTX_PGSZ_8KB | 34 | #define CTX_PGSZ_BASE CTX_PGSZ_8KB |
35 | #elif defined(CONFIG_SPARC64_PAGE_SIZE_64KB) | 35 | #elif defined(CONFIG_SPARC64_PAGE_SIZE_64KB) |
36 | #define CTX_PGSZ_BASE CTX_PGSZ_64KB | 36 | #define CTX_PGSZ_BASE CTX_PGSZ_64KB |
37 | #elif defined(CONFIG_SPARC64_PAGE_SIZE_512KB) | ||
38 | #define CTX_PGSZ_BASE CTX_PGSZ_512KB | ||
39 | #elif defined(CONFIG_SPARC64_PAGE_SIZE_4MB) | ||
40 | #define CTX_PGSZ_BASE CTX_PGSZ_4MB | ||
41 | #else | 37 | #else |
42 | #error No page size specified in kernel configuration | 38 | #error No page size specified in kernel configuration |
43 | #endif | 39 | #endif |
diff --git a/include/asm-sparc/page_64.h b/include/asm-sparc/page_64.h index 93f0881b766e..a8a2bba032c1 100644 --- a/include/asm-sparc/page_64.h +++ b/include/asm-sparc/page_64.h | |||
@@ -7,10 +7,6 @@ | |||
7 | #define PAGE_SHIFT 13 | 7 | #define PAGE_SHIFT 13 |
8 | #elif defined(CONFIG_SPARC64_PAGE_SIZE_64KB) | 8 | #elif defined(CONFIG_SPARC64_PAGE_SIZE_64KB) |
9 | #define PAGE_SHIFT 16 | 9 | #define PAGE_SHIFT 16 |
10 | #elif defined(CONFIG_SPARC64_PAGE_SIZE_512KB) | ||
11 | #define PAGE_SHIFT 19 | ||
12 | #elif defined(CONFIG_SPARC64_PAGE_SIZE_4MB) | ||
13 | #define PAGE_SHIFT 22 | ||
14 | #else | 10 | #else |
15 | #error No page size specified in kernel configuration | 11 | #error No page size specified in kernel configuration |
16 | #endif | 12 | #endif |
diff --git a/include/asm-sparc/pgtable_64.h b/include/asm-sparc/pgtable_64.h index 78d5594964a3..bb9ec2cce355 100644 --- a/include/asm-sparc/pgtable_64.h +++ b/include/asm-sparc/pgtable_64.h | |||
@@ -161,12 +161,6 @@ | |||
161 | #elif PAGE_SHIFT == 16 | 161 | #elif PAGE_SHIFT == 16 |
162 | #define _PAGE_SZBITS_4U _PAGE_SZ64K_4U | 162 | #define _PAGE_SZBITS_4U _PAGE_SZ64K_4U |
163 | #define _PAGE_SZBITS_4V _PAGE_SZ64K_4V | 163 | #define _PAGE_SZBITS_4V _PAGE_SZ64K_4V |
164 | #elif PAGE_SHIFT == 19 | ||
165 | #define _PAGE_SZBITS_4U _PAGE_SZ512K_4U | ||
166 | #define _PAGE_SZBITS_4V _PAGE_SZ512K_4V | ||
167 | #elif PAGE_SHIFT == 22 | ||
168 | #define _PAGE_SZBITS_4U _PAGE_SZ4MB_4U | ||
169 | #define _PAGE_SZBITS_4V _PAGE_SZ4MB_4V | ||
170 | #else | 164 | #else |
171 | #error Wrong PAGE_SHIFT specified | 165 | #error Wrong PAGE_SHIFT specified |
172 | #endif | 166 | #endif |