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/s390/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/s390/mm')
-rw-r--r-- | arch/s390/mm/fault.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/mm/fault.c b/arch/s390/mm/fault.c index 19288c1b36d3..6c47488745ae 100644 --- a/arch/s390/mm/fault.c +++ b/arch/s390/mm/fault.c | |||
@@ -456,7 +456,7 @@ retry: | |||
456 | * make sure we exit gracefully rather than endlessly redo | 456 | * make sure we exit gracefully rather than endlessly redo |
457 | * the fault. | 457 | * the fault. |
458 | */ | 458 | */ |
459 | fault = handle_mm_fault(mm, vma, address, flags); | 459 | fault = handle_mm_fault(vma, address, flags); |
460 | /* No reason to continue if interrupted by SIGKILL. */ | 460 | /* No reason to continue if interrupted by SIGKILL. */ |
461 | if ((fault & VM_FAULT_RETRY) && fatal_signal_pending(current)) { | 461 | if ((fault & VM_FAULT_RETRY) && fatal_signal_pending(current)) { |
462 | fault = VM_FAULT_SIGNAL; | 462 | fault = VM_FAULT_SIGNAL; |