patch-2.1.122 linux/mm/memory.c

Next file: linux/net/Config.in
Previous file: linux/kernel/signal.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.121/linux/mm/memory.c linux/mm/memory.c
@@ -634,7 +634,7 @@
  * and potentially makes it more efficient.
  */
 static void do_wp_page(struct task_struct * tsk, struct vm_area_struct * vma,
-	unsigned long address, int write_access, pte_t *page_table)
+	unsigned long address, pte_t *page_table)
 {
 	pte_t pte;
 	unsigned long old_page, new_page;
@@ -914,7 +914,7 @@
 		flush_tlb_page(vma, address);
 		return;
 	}
-	do_wp_page(tsk, vma, address, write_access, pte);
+	do_wp_page(tsk, vma, address, pte);
 }
 
 /*

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov