diff options
| author | Eric W. Biederman <ebiederm@xmission.com> | 2018-04-16 14:29:39 -0500 |
|---|---|---|
| committer | Eric W. Biederman <ebiederm@xmission.com> | 2018-09-21 14:47:49 +0200 |
| commit | 164881b61429d38717408fa5d175cb55a6291969 (patch) | |
| tree | 7572e17895f87eba93a556b2c6088b3c3b45cd18 /lib/mpi/mpiutil.c | |
| parent | afe8448c0d9db1e1ffaa4a130a7df5f5e63b7188 (diff) | |
signal/x86/traps: Simplify trap generation
Update the DO_ERROR macro to take si_code and si_addr values for a siginfo,
removing the need for the fill_trap_info function.
Update do_trap to also take the sicode and si_addr values for a sigininfo
and modify the code to call force_sig when a sicode is not passed in
and to call force_sig_fault when all of the information is present.
Making this a more obvious, simpler and less error prone construction.
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
