signal/sparc: Move EMT_TAGOVF into the generic siginfo.h
When moving all of the architectures specific si_codes into siginfo.h, I apparently overlooked EMT_TAGOVF. Move it now. Remove the now redundant test in siginfo_layout for SIGEMT as now NSIGEMT is always defined. Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
This commit is contained in:
parent
f040d23c81
commit
018303a931
|
@ -17,10 +17,4 @@
|
||||||
|
|
||||||
#define SI_NOINFO 32767 /* no information in siginfo_t */
|
#define SI_NOINFO 32767 /* no information in siginfo_t */
|
||||||
|
|
||||||
/*
|
|
||||||
* SIGEMT si_codes
|
|
||||||
*/
|
|
||||||
#define EMT_TAGOVF 1 /* tag overflow */
|
|
||||||
#define NSIGEMT 1
|
|
||||||
|
|
||||||
#endif /* _UAPI__SPARC_SIGINFO_H */
|
#endif /* _UAPI__SPARC_SIGINFO_H */
|
||||||
|
|
|
@ -285,6 +285,12 @@ typedef struct siginfo {
|
||||||
#define SYS_SECCOMP 1 /* seccomp triggered */
|
#define SYS_SECCOMP 1 /* seccomp triggered */
|
||||||
#define NSIGSYS 1
|
#define NSIGSYS 1
|
||||||
|
|
||||||
|
/*
|
||||||
|
* SIGEMT si_codes
|
||||||
|
*/
|
||||||
|
#define EMT_TAGOVF 1 /* tag overflow */
|
||||||
|
#define NSIGEMT 1
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* sigevent definitions
|
* sigevent definitions
|
||||||
*
|
*
|
||||||
|
|
|
@ -2856,7 +2856,7 @@ enum siginfo_layout siginfo_layout(int sig, int si_code)
|
||||||
[SIGSEGV] = { NSIGSEGV, SIL_FAULT },
|
[SIGSEGV] = { NSIGSEGV, SIL_FAULT },
|
||||||
[SIGBUS] = { NSIGBUS, SIL_FAULT },
|
[SIGBUS] = { NSIGBUS, SIL_FAULT },
|
||||||
[SIGTRAP] = { NSIGTRAP, SIL_FAULT },
|
[SIGTRAP] = { NSIGTRAP, SIL_FAULT },
|
||||||
#if defined(SIGEMT) && defined(NSIGEMT)
|
#if defined(SIGEMT)
|
||||||
[SIGEMT] = { NSIGEMT, SIL_FAULT },
|
[SIGEMT] = { NSIGEMT, SIL_FAULT },
|
||||||
#endif
|
#endif
|
||||||
[SIGCHLD] = { NSIGCHLD, SIL_CHLD },
|
[SIGCHLD] = { NSIGCHLD, SIL_CHLD },
|
||||||
|
|
Loading…
Reference in New Issue