aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/mm/hypersparc.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/mm/hypersparc.S')
-rw-r--r--arch/sparc/mm/hypersparc.S8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/sparc/mm/hypersparc.S b/arch/sparc/mm/hypersparc.S
index 44aad32eeb4e..969f96450f69 100644
--- a/arch/sparc/mm/hypersparc.S
+++ b/arch/sparc/mm/hypersparc.S
@@ -74,7 +74,7 @@ hypersparc_flush_cache_mm_out:
74 74
75 /* The things we do for performance... */ 75 /* The things we do for performance... */
76hypersparc_flush_cache_range: 76hypersparc_flush_cache_range:
77 ld [%o0 + 0x0], %o0 /* XXX vma->vm_mm, GROSS XXX */ 77 ld [%o0 + VMA_VM_MM], %o0
78#ifndef CONFIG_SMP 78#ifndef CONFIG_SMP
79 ld [%o0 + AOFF_mm_context], %g1 79 ld [%o0 + AOFF_mm_context], %g1
80 cmp %g1, -1 80 cmp %g1, -1
@@ -163,7 +163,7 @@ hypersparc_flush_cache_range_out:
163 */ 163 */
164 /* Verified, my ass... */ 164 /* Verified, my ass... */
165hypersparc_flush_cache_page: 165hypersparc_flush_cache_page:
166 ld [%o0 + 0x0], %o0 /* XXX vma->vm_mm, GROSS XXX */ 166 ld [%o0 + VMA_VM_MM], %o0
167 ld [%o0 + AOFF_mm_context], %g2 167 ld [%o0 + AOFF_mm_context], %g2
168#ifndef CONFIG_SMP 168#ifndef CONFIG_SMP
169 cmp %g2, -1 169 cmp %g2, -1
@@ -284,7 +284,7 @@ hypersparc_flush_tlb_mm_out:
284 sta %g5, [%g1] ASI_M_MMUREGS 284 sta %g5, [%g1] ASI_M_MMUREGS
285 285
286hypersparc_flush_tlb_range: 286hypersparc_flush_tlb_range:
287 ld [%o0 + 0x00], %o0 /* XXX vma->vm_mm GROSS XXX */ 287 ld [%o0 + VMA_VM_MM], %o0
288 mov SRMMU_CTX_REG, %g1 288 mov SRMMU_CTX_REG, %g1
289 ld [%o0 + AOFF_mm_context], %o3 289 ld [%o0 + AOFF_mm_context], %o3
290 lda [%g1] ASI_M_MMUREGS, %g5 290 lda [%g1] ASI_M_MMUREGS, %g5
@@ -307,7 +307,7 @@ hypersparc_flush_tlb_range_out:
307 sta %g5, [%g1] ASI_M_MMUREGS 307 sta %g5, [%g1] ASI_M_MMUREGS
308 308
309hypersparc_flush_tlb_page: 309hypersparc_flush_tlb_page:
310 ld [%o0 + 0x00], %o0 /* XXX vma->vm_mm GROSS XXX */ 310 ld [%o0 + VMA_VM_MM], %o0
311 mov SRMMU_CTX_REG, %g1 311 mov SRMMU_CTX_REG, %g1
312 ld [%o0 + AOFF_mm_context], %o3 312 ld [%o0 + AOFF_mm_context], %o3
313 andn %o1, (PAGE_SIZE - 1), %o1 313 andn %o1, (PAGE_SIZE - 1), %o1