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
- Lines: 18
- Date:
Mon Apr 24 15:52:10 2000
- Orig file:
v2.3.99-pre5/linux/arch/sh/mm/fault.c
- Orig date:
Tue Apr 11 15:09:14 2000
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)