diff options
Diffstat (limited to 'include/asm-ppc64/mmu.h')
-rw-r--r-- | include/asm-ppc64/mmu.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/asm-ppc64/mmu.h b/include/asm-ppc64/mmu.h index 70348a851313..959a4bfdcd6a 100644 --- a/include/asm-ppc64/mmu.h +++ b/include/asm-ppc64/mmu.h | |||
@@ -259,8 +259,10 @@ extern void stabs_alloc(void); | |||
259 | #define VSID_BITS 36 | 259 | #define VSID_BITS 36 |
260 | #define VSID_MODULUS ((1UL<<VSID_BITS)-1) | 260 | #define VSID_MODULUS ((1UL<<VSID_BITS)-1) |
261 | 261 | ||
262 | #define CONTEXT_BITS 20 | 262 | #define CONTEXT_BITS 19 |
263 | #define USER_ESID_BITS 15 | 263 | #define USER_ESID_BITS 16 |
264 | |||
265 | #define USER_VSID_RANGE (1UL << (USER_ESID_BITS + SID_SHIFT)) | ||
264 | 266 | ||
265 | /* | 267 | /* |
266 | * This macro generates asm code to compute the VSID scramble | 268 | * This macro generates asm code to compute the VSID scramble |
@@ -302,7 +304,6 @@ typedef unsigned long mm_context_id_t; | |||
302 | typedef struct { | 304 | typedef struct { |
303 | mm_context_id_t id; | 305 | mm_context_id_t id; |
304 | #ifdef CONFIG_HUGETLB_PAGE | 306 | #ifdef CONFIG_HUGETLB_PAGE |
305 | pgd_t *huge_pgdir; | ||
306 | u16 htlb_segs; /* bitmask */ | 307 | u16 htlb_segs; /* bitmask */ |
307 | #endif | 308 | #endif |
308 | } mm_context_t; | 309 | } mm_context_t; |