patch-2.0.19 linux/arch/i386/kernel/ptrace.c

Next file: linux/arch/i386/lib/Makefile
Previous file: linux/arch/i386/kernel/process.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.18/linux/arch/i386/kernel/ptrace.c linux/arch/i386/kernel/ptrace.c
@@ -187,7 +187,7 @@
 	struct vm_area_struct * vma;
 
 	addr &= PAGE_MASK;
-	vma = find_vma(tsk,addr);
+	vma = find_vma(tsk->mm,addr);
 	if (!vma)
 		return NULL;
 	if (vma->vm_start <= addr)

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