summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
Diffstat (limited to 'mm')
-rw-r--r--mm/memory.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/memory.c b/mm/memory.c
index 7b54fc585..0d93216b5 100644
--- a/mm/memory.c
+++ b/mm/memory.c
@@ -1063,7 +1063,7 @@ static int do_swap_page(struct mm_struct * mm,
return -1;
flush_page_to_ram(page);
- flush_icache_page(vma, page);
+ flush_icache_page(vma, page, address);
}
mm->rss++;
@@ -1159,7 +1159,7 @@ static int do_no_page(struct mm_struct * mm, struct vm_area_struct * vma,
* handle that later.
*/
flush_page_to_ram(new_page);
- flush_icache_page(vma, new_page);
+ flush_icache_page(vma, new_page, address);
entry = mk_pte(new_page, vma->vm_page_prot);
if (write_access) {
entry = pte_mkwrite(pte_mkdirty(entry));