1
0
Fork 0
alistair23-linux/arch/hexagon/mm
Eric W. Biederman 1a4bd9792d signal/hexagon: Use force_sig_fault as appropriate
Filling in struct siginfo before calling force_sig_info a tedious and
error prone process, where once in a great while the wrong fields
are filled out, and siginfo has been inconsistently cleared.

Simplify this process by using the helper force_sig_fault.  Which
takes as a parameters all of the information it needs, ensures
all of the fiddly bits of filling in struct siginfo are done properly
and then calls force_sig_info.

In short about a 5 line reduction in code for every time force_sig_info
is called, which makes the calling function clearer.

Cc: Richard Kuo <rkuo@codeaurora.org>
Cc: linux-hexagon@vger.kernel.org
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
2018-04-25 10:41:00 -05:00
..
Makefile Hexagon: Add configuration and makefiles for the Hexagon architecture. 2011-11-01 07:34:21 -07:00
cache.c hexagon: Fix build failures in linux-next 2014-12-16 13:27:12 -06:00
copy_from_user.S hexagon: switch to RAW_COPY_USER 2017-04-24 20:28:29 -04:00
copy_to_user.S hexagon: switch to RAW_COPY_USER 2017-04-24 20:28:29 -04:00
copy_user_template.S Hexagon: Copyright marking changes 2012-10-18 17:07:21 -05:00
init.c treewide: replace obsolete _refok by __ref 2016-08-02 17:31:41 -04:00
ioremap.c hexagon: Fix build failures in linux-next 2014-12-16 13:27:12 -06:00
pgalloc.c Hexagon: Copyright marking changes 2012-10-18 17:07:21 -05:00
strnlen_user.S Hexagon: Copyright marking changes 2012-10-18 17:07:21 -05:00
uaccess.c hexagon: Use raw_copy_to_user 2017-06-10 19:10:31 -07:00
vm_fault.c signal/hexagon: Use force_sig_fault as appropriate 2018-04-25 10:41:00 -05:00
vm_tlb.c mm: memcontrol: per-lruvec stats infrastructure 2017-07-06 16:24:35 -07:00