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/um | |
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/um')
-rw-r--r-- | arch/um/kernel/trap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/kernel/trap.c b/arch/um/kernel/trap.c index 98783dd0fa2e..ad8f206ab5e8 100644 --- a/arch/um/kernel/trap.c +++ b/arch/um/kernel/trap.c | |||
@@ -73,7 +73,7 @@ good_area: | |||
73 | do { | 73 | do { |
74 | int fault; | 74 | int fault; |
75 | 75 | ||
76 | fault = handle_mm_fault(mm, vma, address, flags); | 76 | fault = handle_mm_fault(vma, address, flags); |
77 | 77 | ||
78 | if ((fault & VM_FAULT_RETRY) && fatal_signal_pending(current)) | 78 | if ((fault & VM_FAULT_RETRY) && fatal_signal_pending(current)) |
79 | goto out_nosemaphore; | 79 | goto out_nosemaphore; |