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

Next file: linux/arch/sparc/kernel/Makefile
Previous file: linux/arch/sh/mm/cache.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre5/linux/arch/sh/mm/fault.c linux/arch/sh/mm/fault.c
@@ -55,7 +55,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;
@@ -168,7 +168,7 @@
 	 * the fault.
 	 */
 	{
-		int fault = handle_mm_fault(tsk, vma, address, writeaccess);
+		int fault = handle_mm_fault(mm, vma, address, writeaccess);
 		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)