arm64/mm: Drop task_struct argument from __do_page_fault()
authorAnshuman Khandual <anshuman.khandual@arm.com>
Mon, 3 Jun 2019 06:41:23 +0000 (12:11 +0530)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 4 Jun 2019 14:26:47 +0000 (15:26 +0100)
commit616810360043183a9db73e39f5aadbe48952c383
tree7f7cd7090d843ebd1492e042af0d937fdd6bd358
parenta0509313d5dea0a27a5968f04bd556d05e6349fd
arm64/mm: Drop task_struct argument from __do_page_fault()

The task_struct argument is not getting used in __do_page_fault(). Hence
just drop it and use current or cuurent->mm instead where ever required.
This does not change any functionality.

Signed-off-by: Anshuman Khandual <anshuman.khandual@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: James Morse <james.morse@arm.com>
Cc: Andrey Konovalov <andreyknvl@google.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/mm/fault.c