diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-02-16 00:21:17 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-03-20 04:13:09 -0500 |
commit | c7f81d42d3d07115a7b92e36ade0f3167f75bc55 (patch) | |
tree | ffb9f1337b926d64b52bb6148b18b9c62eacb53c /arch | |
parent | a7b31bac691668a60da8b9892124b7da408e0a0e (diff) |
[SPARC64]: Don't use ASI_QUAD_LDD_PHYS on SUN4V.
Need to use ASI_QUAD_LDD_PHYS_4V instead.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sparc64/kernel/sun4v_tlb_miss.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc64/kernel/sun4v_tlb_miss.S b/arch/sparc64/kernel/sun4v_tlb_miss.S index b3844ee3844a..df65d712dcc6 100644 --- a/arch/sparc64/kernel/sun4v_tlb_miss.S +++ b/arch/sparc64/kernel/sun4v_tlb_miss.S | |||
@@ -57,7 +57,7 @@ sun4v_itlb_miss: | |||
57 | COMPUTE_TSB_PTR(%g1, %g4, %g3, %g7) | 57 | COMPUTE_TSB_PTR(%g1, %g4, %g3, %g7) |
58 | 58 | ||
59 | /* Load TSB tag/pte into %g2/%g3 and compare the tag. */ | 59 | /* Load TSB tag/pte into %g2/%g3 and compare the tag. */ |
60 | ldda [%g1] ASI_QUAD_LDD_PHYS, %g2 | 60 | ldda [%g1] ASI_QUAD_LDD_PHYS_4V, %g2 |
61 | cmp %g2, %g6 | 61 | cmp %g2, %g6 |
62 | sethi %hi(PAGE_EXEC), %g7 | 62 | sethi %hi(PAGE_EXEC), %g7 |
63 | ldx [%g7 + %lo(PAGE_EXEC)], %g7 | 63 | ldx [%g7 + %lo(PAGE_EXEC)], %g7 |
@@ -104,7 +104,7 @@ sun4v_dtlb_miss: | |||
104 | COMPUTE_TSB_PTR(%g1, %g4, %g3, %g7) | 104 | COMPUTE_TSB_PTR(%g1, %g4, %g3, %g7) |
105 | 105 | ||
106 | /* Load TSB tag/pte into %g2/%g3 and compare the tag. */ | 106 | /* Load TSB tag/pte into %g2/%g3 and compare the tag. */ |
107 | ldda [%g1] ASI_QUAD_LDD_PHYS, %g2 | 107 | ldda [%g1] ASI_QUAD_LDD_PHYS_4V, %g2 |
108 | cmp %g2, %g6 | 108 | cmp %g2, %g6 |
109 | bne,a,pn %xcc, tsb_miss_page_table_walk | 109 | bne,a,pn %xcc, tsb_miss_page_table_walk |
110 | mov FAULT_CODE_ITLB, %g3 | 110 | mov FAULT_CODE_ITLB, %g3 |