diff options
author | Kirill A. Shutemov <kirill.shutemov@linux.intel.com> | 2016-07-26 18:25:18 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-07-26 19:19:19 -0400 |
commit | dcddffd41d3f1d3bdcc1dce3f1cd142779b6d4c1 (patch) | |
tree | b7b545d38466ff7e0260573cba32c9cabd3fd1a2 /arch/tile/mm | |
parent | 6fb8ddfc455ca82a3ce674f54298cd20f27ca518 (diff) |
mm: do not pass mm_struct into handle_mm_fault
We always have vma->vm_mm around.
Link: http://lkml.kernel.org/r/1466021202-61880-8-git-send-email-kirill.shutemov@linux.intel.com
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/tile/mm')
-rw-r--r-- | arch/tile/mm/fault.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/tile/mm/fault.c b/arch/tile/mm/fault.c index 26734214818c..beba986589e5 100644 --- a/arch/tile/mm/fault.c +++ b/arch/tile/mm/fault.c | |||
@@ -434,7 +434,7 @@ good_area: | |||
434 | * make sure we exit gracefully rather than endlessly redo | 434 | * make sure we exit gracefully rather than endlessly redo |
435 | * the fault. | 435 | * the fault. |
436 | */ | 436 | */ |
437 | fault = handle_mm_fault(mm, vma, address, flags); | 437 | fault = handle_mm_fault(vma, address, flags); |
438 | 438 | ||
439 | if ((fault & VM_FAULT_RETRY) && fatal_signal_pending(current)) | 439 | if ((fault & VM_FAULT_RETRY) && fatal_signal_pending(current)) |
440 | return 0; | 440 | return 0; |