signal/arm64: Only call set_thread_esr once in do_page_fault
authorEric W. Biederman <ebiederm@xmission.com>
Sat, 22 Sep 2018 08:18:42 +0000 (10:18 +0200)
committerEric W. Biederman <ebiederm@xmission.com>
Thu, 27 Sep 2018 19:54:33 +0000 (21:54 +0200)
commit559d8d91a89cc2a0190781a5b5ce3faeaef7920f
treebc354972f5c7728f067c26c4b1961d49e95b87df
parent2d2837fab5fadaf6942e834c2cbe8c9e594917c1
signal/arm64: Only call set_thread_esr once in do_page_fault

This code is truly common between the signal sending cases so share it.

Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Tested-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
arch/arm64/mm/fault.c