diff options
author | David S. Miller <davem@davemloft.net> | 2006-01-31 21:31:06 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-03-20 04:11:16 -0500 |
commit | 09f94287f7260e03bbeab497e743691fafcc22c3 (patch) | |
tree | ebdb365a7cfe25a1587a930d852f2eaa0e1e773a /include/asm-sparc64/pgtable.h | |
parent | 56fb4df6da76c35dca22036174e2d1edef83ff1f (diff) |
[SPARC64]: TSB refinements.
Move {init_new,destroy}_context() out of line.
Do not put huge pages into the TSB, only base page size translations.
There are some clever things we could do here, but for now let's be
correct instead of fancy.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/asm-sparc64/pgtable.h')
-rw-r--r-- | include/asm-sparc64/pgtable.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-sparc64/pgtable.h b/include/asm-sparc64/pgtable.h index 77ba0b6cc1ce..2b2ecd6104d2 100644 --- a/include/asm-sparc64/pgtable.h +++ b/include/asm-sparc64/pgtable.h | |||
@@ -116,6 +116,10 @@ | |||
116 | #define _PAGE_W _AC(0x0000000000000002,UL) /* Writable */ | 116 | #define _PAGE_W _AC(0x0000000000000002,UL) /* Writable */ |
117 | #define _PAGE_G _AC(0x0000000000000001,UL) /* Global */ | 117 | #define _PAGE_G _AC(0x0000000000000001,UL) /* Global */ |
118 | 118 | ||
119 | #define _PAGE_ALL_SZ_BITS \ | ||
120 | (_PAGE_SZ4MB | _PAGE_SZ512K | _PAGE_SZ64K | \ | ||
121 | _PAGE_SZ8K | _PAGE_SZ32MB | _PAGE_SZ256MB) | ||
122 | |||
119 | /* Here are the SpitFire software bits we use in the TTE's. | 123 | /* Here are the SpitFire software bits we use in the TTE's. |
120 | * | 124 | * |
121 | * WARNING: If you are going to try and start using some | 125 | * WARNING: If you are going to try and start using some |