mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 08:23:17 +00:00
While reviewing the signal handlers on alpha it became clear that si_trapno is only set to a non-zero value when sending SIGFPE and when sending SITGRAP with si_code TRAP_UNK. Add send_sig_fault_trapno and send SIGTRAP TRAP_UNK, and SIGFPE with it. Remove the define of __ARCH_SI_TRAPNO and remove the always zero si_trapno parameter from send_sig_fault and force_sig_fault. v1: https://lkml.kernel.org/r/[email protected] v2: https://lkml.kernel.org/r/[email protected] Link: https://lkml.kernel.org/r/87h7gvxx7l.fsf_-_@disp2133 Signed-off-by: "Eric W. Biederman" <[email protected]>
8 lines
155 B
C
8 lines
155 B
C
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
|
#ifndef _ALPHA_SIGINFO_H
|
|
#define _ALPHA_SIGINFO_H
|
|
|
|
#include <asm-generic/siginfo.h>
|
|
|
|
#endif
|