Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 21530
b: refs/heads/master
c: 97c4b6f
h: refs/heads/master
v: v3
  • Loading branch information
David S. Miller authored and David S. Miller committed Mar 20, 2006
1 parent 76ddd7b commit d5a7196
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7a591cfe4efef8a232e4938d44ae6693b319f6d7
refs/heads/master: 97c4b6f95afadea5846b78ce589d25de2a245c56
14 changes: 1 addition & 13 deletions trunk/include/asm-sparc64/mmu.h
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Expand Down

0 comments on commit d5a7196

Please sign in to comment.