linux-sg2042/arch/xtensa/mm
Eric W. Biederman 9181010565 signal/xtensa: Use force_sig_fault where 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: Max Filippov <jcmvbkbc@gmail.com>
Cc: Chris Zankel <chris@zankel.net>
Cc: linux-xtensa@linux-xtensa.org
Acked-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
2018-04-25 10:44:12 -05:00
..
Makefile xtensa: add support for KASAN 2017-12-16 22:37:12 -08:00
cache.c mm: fix races between swapoff and flush dcache 2018-04-05 21:36:26 -07:00
fault.c signal/xtensa: Use force_sig_fault where appropriate 2018-04-25 10:44:12 -05:00
highmem.c sched/preempt, mm/kmap: Explicitly disable/enable preemption in kmap_atomic_* 2015-05-19 08:39:14 +02:00
init.c xtensa: fix high memory/reserved memory collision 2018-02-15 09:46:42 -08:00
ioremap.c xtensa: support ioremap for memory outside KIO region 2016-01-11 17:37:36 +03:00
kasan_init.c xtensa: add support for KASAN 2017-12-16 22:37:12 -08:00
misc.S xtensa: implement clear_user_highpage and copy_user_highpage 2014-08-14 11:59:20 +04:00
mmu.c xtensa: don't clear swapper_pg_dir in paging_init 2017-12-16 22:37:11 -08:00
tlb.c xtensa: clean up custom-controlled debug output 2017-12-16 22:37:08 -08:00