Skip to content

Commit

Permalink
[SPARC64]: Don't use ASI_QUAD_LDD_PHYS on SUN4V.
Browse files Browse the repository at this point in the history
Need to use ASI_QUAD_LDD_PHYS_4V instead.

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Mar 20, 2006
1 parent a7b31ba commit c7f81d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/sparc64/kernel/sun4v_tlb_miss.S
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ sun4v_itlb_miss:
COMPUTE_TSB_PTR(%g1, %g4, %g3, %g7)

/* Load TSB tag/pte into %g2/%g3 and compare the tag. */
ldda [%g1] ASI_QUAD_LDD_PHYS, %g2
ldda [%g1] ASI_QUAD_LDD_PHYS_4V, %g2
cmp %g2, %g6
sethi %hi(PAGE_EXEC), %g7
ldx [%g7 + %lo(PAGE_EXEC)], %g7
Expand Down Expand Up @@ -104,7 +104,7 @@ sun4v_dtlb_miss:
COMPUTE_TSB_PTR(%g1, %g4, %g3, %g7)

/* Load TSB tag/pte into %g2/%g3 and compare the tag. */
ldda [%g1] ASI_QUAD_LDD_PHYS, %g2
ldda [%g1] ASI_QUAD_LDD_PHYS_4V, %g2
cmp %g2, %g6
bne,a,pn %xcc, tsb_miss_page_table_walk
mov FAULT_CODE_ITLB, %g3
Expand Down

0 comments on commit c7f81d4

Please sign in to comment.