patch-2.3.99-pre6 linux/arch/i386/mm/fault.c

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

diff -u --recursive --new-file v2.3.99-pre5/linux/arch/i386/mm/fault.c linux/arch/i386/mm/fault.c
@@ -51,7 +51,7 @@
 	start &= PAGE_MASK;
 
 	for (;;) {
-		if (handle_mm_fault(current, vma, start, 1) <= 0)
+		if (handle_mm_fault(current->mm, vma, start, 1) <= 0)
 			goto bad_area;
 		if (!size)
 			break;
@@ -193,7 +193,7 @@
 	 * the fault.
 	 */
 	{
-		int fault = handle_mm_fault(tsk, vma, address, write);
+		int fault = handle_mm_fault(mm, vma, address, write);
 		if (fault < 0)
 			goto out_of_memory;
 		if (!fault)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)