]> git.baikalelectronics.ru Git - kernel.git/commit
signal/unicore32: Generate siginfo in ucs32_notify_die
authorEric W. Biederman <ebiederm@xmission.com>
Thu, 19 Apr 2018 23:13:51 +0000 (18:13 -0500)
committerEric W. Biederman <ebiederm@xmission.com>
Thu, 27 Sep 2018 20:11:28 +0000 (22:11 +0200)
commite2fd891cc4509486697f661497fe866fe16e3f36
tree4edc3cc071f33fed0fa9403d5d87cc4b3c836c47
parent95f36b24a24c07eb2b7512626c896b41e4378bea
signal/unicore32: Generate siginfo in ucs32_notify_die

Pass the signal number, and the signal code, and the faulting
address into uc32_notify_die so the callers do not need
to generate a struct siginfo.

In ucs32_ntoify_die use the newly passed in information to
call force_sig_fault to generate the siginfo and send the error.

This simplifies the code making the chances of bugs much less likely.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
arch/unicore32/include/asm/bug.h
arch/unicore32/kernel/traps.c
arch/unicore32/mm/fault.c