summaryrefslogtreecommitdiffstats
path: root/arch/sh/mm/fault.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/mm/fault.c')
-rw-r--r--arch/sh/mm/fault.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/mm/fault.c b/arch/sh/mm/fault.c
index bf448bf8b..2369b3c04 100644
--- a/arch/sh/mm/fault.c
+++ b/arch/sh/mm/fault.c
@@ -55,7 +55,7 @@ good_area:
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 @@ good_area:
* 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)