summaryrefslogtreecommitdiffstats
path: root/arch/openrisc/mm
diff options
context:
space:
mode:
authorKirill A. Shutemov2016-07-27 00:25:18 +0200
committerLinus Torvalds2016-07-27 01:19:19 +0200
commitdcddffd41d3f1d3bdcc1dce3f1cd142779b6d4c1 (patch)
treeb7b545d38466ff7e0260573cba32c9cabd3fd1a2 /arch/openrisc/mm
parentthp, mlock: update unevictable-lru.txt (diff)
downloadkernel-qcow2-linux-dcddffd41d3f1d3bdcc1dce3f1cd142779b6d4c1.tar.gz
kernel-qcow2-linux-dcddffd41d3f1d3bdcc1dce3f1cd142779b6d4c1.tar.xz
kernel-qcow2-linux-dcddffd41d3f1d3bdcc1dce3f1cd142779b6d4c1.zip
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/openrisc/mm')
-rw-r--r--arch/openrisc/mm/fault.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/openrisc/mm/fault.c b/arch/openrisc/mm/fault.c
index 230ac20ae794..e94cd225e816 100644
--- a/arch/openrisc/mm/fault.c
+++ b/arch/openrisc/mm/fault.c
@@ -163,7 +163,7 @@ good_area:
* the fault.
*/
- fault = handle_mm_fault(mm, vma, address, flags);
+ fault = handle_mm_fault(vma, address, flags);
if ((fault & VM_FAULT_RETRY) && fatal_signal_pending(current))
return;