summaryrefslogtreecommitdiffstats
path: root/include/asm-sparc64
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2006-02-26 20:37:41 -0800
committerDavid S. Miller <davem@sunset.davemloft.net>2006-03-20 01:14:06 -0800
commit97c4b6f95afadea5846b78ce589d25de2a245c56 (patch)
tree11110547d3c92657ae8199f039e35c3a74d32107 /include/asm-sparc64
parent7a591cfe4efef8a232e4938d44ae6693b319f6d7 (diff)
downloadop-kernel-dev-97c4b6f95afadea5846b78ce589d25de2a245c56.zip
op-kernel-dev-97c4b6f95afadea5846b78ce589d25de2a245c56.tar.gz
[SPARC64]: Use 13-bit context size always.
We no longer have the problems that require using the smaller sizes. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/asm-sparc64')
-rw-r--r--include/asm-sparc64/mmu.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/include/asm-sparc64/mmu.h b/include/asm-sparc64/mmu.h
index 1504d30..da14a9b 100644
--- a/include/asm-sparc64/mmu.h
+++ b/include/asm-sparc64/mmu.h
@@ -6,19 +6,7 @@
#include <asm/const.h>
#include <asm/hypervisor.h>
-/*
- * For the 8k pagesize kernel, use only 10 hw context bits to optimize some
- * shifts in the fast tlbmiss handlers, instead of all 13 bits (specifically
- * for vpte offset calculation). For other pagesizes, this optimization in
- * the tlbhandlers can not be done; but still, all 13 bits can not be used
- * because the tlb handlers use "andcc" instruction which sign extends 13
- * bit arguments.
- */
-#if PAGE_SHIFT == 13
-#define CTX_NR_BITS 10
-#else
-#define CTX_NR_BITS 12
-#endif
+#define CTX_NR_BITS 13
#define TAG_CONTEXT_BITS ((_AC(1,UL) << CTX_NR_BITS) - _AC(1,UL))
OpenPOWER on IntegriCloud