Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 9360
b: refs/heads/master
c: 059deb6
h: refs/heads/master
v: v3
  • Loading branch information
David S. Miller committed Sep 22, 2005
1 parent 33c5c25 commit 012d1b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 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: 2a7e2990340a1c42321d79dc99755683ea5a1026
refs/heads/master: 059deb693ec191e563ec69533d24f3feff0b78cd
13 changes: 1 addition & 12 deletions trunk/arch/sparc64/kernel/dtlb_backend.S
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,7 @@
#include <asm/pgtable.h>
#include <asm/mmu.h>

#if PAGE_SHIFT == 13
#define SZ_BITS _PAGE_SZ8K
#elif PAGE_SHIFT == 16
#define SZ_BITS _PAGE_SZ64K
#elif PAGE_SHIFT == 19
#define SZ_BITS _PAGE_SZ512K
#elif PAGE_SHIFT == 22
#define SZ_BITS _PAGE_SZ4MB
#endif

#define VALID_SZ_BITS (_PAGE_VALID | SZ_BITS)
#define VALID_SZ_BITS (_PAGE_VALID | _PAGE_SZBITS)

#define VPTE_BITS (_PAGE_CP | _PAGE_CV | _PAGE_P )
#define VPTE_SHIFT (PAGE_SHIFT - 3)
Expand Down Expand Up @@ -163,7 +153,6 @@ sparc64_vpte_continue:
stxa %g4, [%g1 + %g1] ASI_DMMU ! Restore previous TAG_ACCESS
retry ! Load PTE once again

#undef SZ_BITS
#undef VALID_SZ_BITS
#undef VPTE_SHIFT
#undef VPTE_BITS
Expand Down

0 comments on commit 012d1b6

Please sign in to comment.