patch-2.1.38 linux/arch/i386/mm/fault.c

Next file: linux/arch/sparc/kernel/irq.c
Previous file: linux/arch/i386/lib/semaphore.S
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.37/linux/arch/i386/mm/fault.c linux/arch/i386/mm/fault.c
@@ -49,7 +49,7 @@
 	start &= PAGE_MASK;
 
 	for (;;) {
-		handle_mm_fault(vma, start, 1);
+		handle_mm_fault(current,vma, start, 1);
 		if (!size)
 			break;
 		size--;
@@ -142,7 +142,7 @@
 			if (!(vma->vm_flags & (VM_READ | VM_EXEC)))
 				goto bad_area;
 	}
-	handle_mm_fault(vma, address, write);
+	handle_mm_fault(tsk, vma, address, write);
 	up(&mm->mmap_sem);
 	/*
 	 * Did it hit the DOS screen memory VA from vm86 mode?

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