Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 753e5a85 authored by Eric W. Biederman's avatar Eric W. Biederman
Browse files

signal/tile: Move the tile specific si_codes to asm-generic/siginfo.h



Having si_codes in many different files simply encourages duplicate definitions
that can cause problems later.  To avoid that merge the tile specific si_codes
into uapi/asm-generic/siginfo.h

Signed-off-by: default avatar"Eric W. Biederman" <ebiederm@xmission.com>
parent 8bc9e338
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -24,12 +24,4 @@

#include <asm-generic/siginfo.h>

/*
 * Additional Tile-specific SIGILL si_codes
 */
#define ILL_DBLFLT	9	/* double fault */
#define ILL_HARDWALL	10	/* user networks hardwall violation */
#undef NSIGILL
#define NSIGILL		10

#endif /* _ASM_TILE_SIGINFO_H */
+4 −0
Original line number Diff line number Diff line
@@ -186,6 +186,10 @@ typedef struct siginfo {
#define ILL_PRVREG	6	/* privileged register */
#define ILL_COPROC	7	/* coprocessor error */
#define ILL_BADSTK	8	/* internal stack error */
#ifdef __tile__
# define ILL_DBLFLT	9	/* double fault */
# define ILL_HARDWALL	10	/* user networks hardwall violation */
#endif
#ifdef __ia64__
# define ILL_BADIADDR	9	/* unimplemented instruction address */
# define __ILL_BREAK	10	/* illegal break */