patch-2.1.38 linux/fs/proc/mem.c

Next file: linux/include/asm-i386/semaphore.h
Previous file: linux/fs/nfs/nfsroot.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.37/linux/fs/proc/mem.c linux/fs/proc/mem.c
@@ -285,10 +285,10 @@
 			return -ENOMEM;
 
 		if (!pte_present(*src_table))
-			handle_mm_fault(src_vma, stmp, 1);
+			handle_mm_fault(tsk, src_vma, stmp, 1);
 
 		if ((vma->vm_flags & VM_WRITE) && !pte_write(*src_table))
-			handle_mm_fault(src_vma, stmp, 1);
+			handle_mm_fault(tsk, src_vma, stmp, 1);
 
 		set_pte(src_table, pte_mkdirty(*src_table));
 		set_pte(dest_table, *src_table);

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