diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-09-30 00:27:41 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-09-30 00:27:41 +0000 |
commit | 43ab7d1ecdb1e3780d1fab3b9d9c4409135bda5c (patch) | |
tree | b54abdefe9ef9ee15282ae7a935041000fe4628b /arch | |
parent | 4b5739c111692222160055e3e8d288227d727cf9 (diff) |
Avoid recursive page faults.
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/mm/r4xx0.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/mips/mm/r4xx0.c b/arch/mips/mm/r4xx0.c index 0c8616c3e..a255adad1 100644 --- a/arch/mips/mm/r4xx0.c +++ b/arch/mips/mm/r4xx0.c @@ -1973,12 +1973,13 @@ r4k_flush_icache_page_i16(struct vm_area_struct *vma, struct page *page, static void r4k_flush_icache_page_i32(struct vm_area_struct *vma, struct page *page, - unsigned long address) + unsigned long address) { if (!(vma->vm_flags & VM_EXEC)) return; - blast_icache32_page(address); + address = KSEG0 + (address & PAGE_MASK & (dcache_size - 1)); + blast_icache32_page_indexed(address); } /* |