summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorKanoj Sarcar <kanoj@engr.sgi.com>2000-11-29 22:00:30 +0000
committerKanoj Sarcar <kanoj@engr.sgi.com>2000-11-29 22:00:30 +0000
commitc646de67cdaa3d75b7c7d06bfd0e3eb763c50ce5 (patch)
tree00cfc79eba30b492c981da7fc6a11b0143805cf5 /mm
parent7f242fee790824c50972ffd73aaa5f43b4ceeca7 (diff)
Use the same definition of flush_icache_page() that is used in stock
Linux 2.4.
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 f4bd5163e..d6b8f6371 100644
--- a/mm/memory.c
+++ b/mm/memory.c
@@ -1071,7 +1071,7 @@ static int do_swap_page(struct mm_struct * mm,
return -1;
flush_page_to_ram(page);
- flush_icache_page(vma, page, address);
+ flush_icache_page(vma, page);
}
mm->rss++;
@@ -1164,7 +1164,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, address);
+ flush_icache_page(vma, new_page);
entry = mk_pte(new_page, vma->vm_page_prot);
if (write_access) {
entry = pte_mkwrite(pte_mkdirty(entry));