signal/nds32: Use force_sig in unhandled_interruption and unhandled_exceptions
authorEric W. Biederman <ebiederm@xmission.com>
Tue, 17 Apr 2018 20:21:58 +0000 (15:21 -0500)
committerEric W. Biederman <ebiederm@xmission.com>
Wed, 25 Apr 2018 15:39:49 +0000 (10:39 -0500)
commitbe5c2ff06c2a30fb694d54b0a100ef4f55e1de3a
tree36996adfe19e416d34dcd2385c9c576d922ea9ac
parent195bce73bd10bb939950c1591606185404de281d
signal/nds32: Use force_sig in unhandled_interruption and unhandled_exceptions

Neither unhandled_interrupt nor unhandled_exceptions fills in any of the
siginfo fields whend sending SIGKILL.  Further because it is SIGKILL
even if all of the fields were filled out appropriately it would be impossible
for the process to read any of the siginfo fields.  So simplfy things and
just use force_sig instead of force_sig_info.

Fixes: 2923f5ea7738 ("nds32: Exception handling")
Cc: Vincent Chen <vincentc@andestech.com>
Cc: Greentime Hu <greentime@andestech.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Acked-by: Vincent Chen <vincentc@andestech.com>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
arch/nds32/kernel/traps.c