signal/arc: Push siginfo generation into unhandled_exception
authorEric W. Biederman <ebiederm@xmission.com>
Fri, 20 Apr 2018 00:20:58 +0000 (19:20 -0500)
committerEric W. Biederman <ebiederm@xmission.com>
Thu, 27 Sep 2018 19:59:17 +0000 (21:59 +0200)
commit4445229445273da16cc3a4928e3ba327b0301e7f
tree39db254b96a029dab7f0eebbb00030574b564d7d
parenta618a2754ce6037beabe770aa01ae5ca97a0d65e
signal/arc: Push siginfo generation into unhandled_exception

Pass signr, sicode, and address into unhandled_exception as explicit
parameters instead of members of struct siginfo.  Then in unhandled
exception generate and send the siginfo using force_sig_fault.

This keeps the code simpler and less error prone.

Acked-by: Vineet Gupta <vgupta@synopsys.com>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
arch/arc/kernel/traps.c