projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ARM: Fix FIQ code on VIVT CPUs
[firefly-linux-kernel-4.4.55.git]
/
arch
/
sparc
/
mm
/
tsunami.S
diff --git
a/arch/sparc/mm/tsunami.S
b/arch/sparc/mm/tsunami.S
index 4e55e8f76648a27da7ff666b0fae21590e182651..bf10a345fa8b7857a9e080ef4baa44998ea36d55 100644
(file)
--- a/
arch/sparc/mm/tsunami.S
+++ b/
arch/sparc/mm/tsunami.S
@@
-24,7
+24,7
@@
/* Sliiick... */
tsunami_flush_cache_page:
tsunami_flush_cache_range:
/* Sliiick... */
tsunami_flush_cache_page:
tsunami_flush_cache_range:
- ld [%o0 +
0x0], %o0 /* XXX vma->vm_mm, GROSS XXX */
+ ld [%o0 +
VMA_VM_MM], %o0
tsunami_flush_cache_mm:
ld [%o0 + AOFF_mm_context], %g2
cmp %g2, -1
tsunami_flush_cache_mm:
ld [%o0 + AOFF_mm_context], %g2
cmp %g2, -1
@@
-46,7
+46,7
@@
tsunami_flush_sig_insns:
/* More slick stuff... */
tsunami_flush_tlb_range:
/* More slick stuff... */
tsunami_flush_tlb_range:
- ld [%o0 +
0x00], %o0 /* XXX vma->vm_mm GROSS XXX */
+ ld [%o0 +
VMA_VM_MM], %o0
tsunami_flush_tlb_mm:
ld [%o0 + AOFF_mm_context], %g2
cmp %g2, -1
tsunami_flush_tlb_mm:
ld [%o0 + AOFF_mm_context], %g2
cmp %g2, -1
@@
-65,7
+65,7
@@
tsunami_flush_tlb_out:
/* This one can be done in a fine grained manner... */
tsunami_flush_tlb_page:
/* This one can be done in a fine grained manner... */
tsunami_flush_tlb_page:
- ld [%o0 +
0x00], %o0 /* XXX vma->vm_mm GROSS XXX */
+ ld [%o0 +
VMA_VM_MM], %o0
mov SRMMU_CTX_REG, %g1
ld [%o0 + AOFF_mm_context], %o3
andn %o1, (PAGE_SIZE - 1), %o1
mov SRMMU_CTX_REG, %g1
ld [%o0 + AOFF_mm_context], %o3
andn %o1, (PAGE_SIZE - 1), %o1