diff options
| author | Helge Deller <deller@gmx.de> | 2018-01-13 20:32:43 -0500 |
|---|---|---|
| committer | Helge Deller <deller@gmx.de> | 2018-04-11 05:40:35 -0400 |
| commit | 75abf64287cab73546382a4fa7fa2f4e3516efeb (patch) | |
| tree | 48c47c25880b404b21f2dcf05594858d766be48e /include | |
| parent | b284d4d5a6785f8cd07eda2646a95782373cd01e (diff) | |
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>
Diffstat (limited to 'include')
| -rw-r--r-- | include/uapi/asm-generic/siginfo.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/uapi/asm-generic/siginfo.h b/include/uapi/asm-generic/siginfo.h index 544208fd3db1..558b902f18d4 100644 --- a/include/uapi/asm-generic/siginfo.h +++ b/include/uapi/asm-generic/siginfo.h | |||
| @@ -211,7 +211,8 @@ typedef struct siginfo { | |||
| 211 | #define __FPE_INVASC 12 /* invalid ASCII digit */ | 211 | #define __FPE_INVASC 12 /* invalid ASCII digit */ |
| 212 | #define __FPE_INVDEC 13 /* invalid decimal digit */ | 212 | #define __FPE_INVDEC 13 /* invalid decimal digit */ |
| 213 | #define FPE_FLTUNK 14 /* undiagnosed floating-point exception */ | 213 | #define FPE_FLTUNK 14 /* undiagnosed floating-point exception */ |
| 214 | #define NSIGFPE 14 | 214 | #define FPE_CONDTRAP 15 /* trap on condition */ |
| 215 | #define NSIGFPE 15 | ||
| 215 | 216 | ||
| 216 | /* | 217 | /* |
| 217 | * SIGSEGV si_codes | 218 | * SIGSEGV si_codes |
