parisc/signal: Add FPE_CONDTRAP for conditional trap handling
Posix and common sense requires that SI_USER not be a signal specific si_code. Thus add a new FPE_CONDTRAP si_code for conditional traps. Signed-off-by: Helge Deller <deller@gmx.de> Cc: Stephen Rothwell <sfr@canb.auug.org.au>
This commit is contained in:
@@ -211,7 +211,8 @@ typedef struct siginfo {
|
||||
#define __FPE_INVASC 12 /* invalid ASCII digit */
|
||||
#define __FPE_INVDEC 13 /* invalid decimal digit */
|
||||
#define FPE_FLTUNK 14 /* undiagnosed floating-point exception */
|
||||
#define NSIGFPE 14
|
||||
#define FPE_CONDTRAP 15 /* trap on condition */
|
||||
#define NSIGFPE 15
|
||||
|
||||
/*
|
||||
* SIGSEGV si_codes
|
||||
|
Reference in New Issue
Block a user