signal/arm64: Consolidate the two hwpoison cases in do_page_fault
authorEric W. Biederman <ebiederm@xmission.com>
Sat, 22 Sep 2018 07:46:39 +0000 (09:46 +0200)
committerEric W. Biederman <ebiederm@xmission.com>
Thu, 27 Sep 2018 19:54:02 +0000 (21:54 +0200)
commit9ea3a9743cac4fd2e296223ae6a95bf11d7365d0
tree60f521c31b02b32d416e657b724db6734f668cdd
parentf29ad209e428f5bc596de39dd9b8d73db5739920
signal/arm64: Consolidate the two hwpoison cases in do_page_fault

These two cases are practically the same and use siginfo differently
from the other signals sent from do_page_fault.  So consolidate them
to make future changes easier.

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