signal/arm64: Factor out arm64_show_signal from arm64_force_sig_info
authorEric W. Biederman <ebiederm@xmission.com>
Fri, 21 Sep 2018 22:52:21 +0000 (00:52 +0200)
committerEric W. Biederman <ebiederm@xmission.com>
Thu, 27 Sep 2018 19:53:46 +0000 (21:53 +0200)
commit1628a7cc85db7eced9cd8195fd66574a35470825
treefcc19518e9f9294936fc441d792198e8c6127073
parent24b8f79dd8e036da618d158b4c0295208d478c5c
signal/arm64: Factor out arm64_show_signal from arm64_force_sig_info

Filling in siginfo is error prone and so it is wise to use more
specialized helpers to do that work.  Factor out the arm specific
unhandled signal reporting from the work of delivering a signal so
the code can be modified to use functions that take the information
to fill out siginfo as parameters.

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/kernel/traps.c