... having taught the latter that si_errno and si_code might be swapped.
Showing the changes to include/uapi/asm-generic (1 of 2 files). Show all
Unified · Split
| @@ -48,8 +48,13 @@ typedef union sigval { · 47 unmodified lines | ||
| 48 | 48 | |
| 49 | 49 | typedef struct siginfo { |
| 50 | 50 | int si_signo; |
| 51 | +#ifndef __ARCH_HAS_SWAPPED_SIGINFO | |
| 51 | 52 | int si_errno; |
| 52 | 53 | int si_code; |
| 54 | +#else | |
| 55 | + int si_code; | |
| 56 | + int si_errno; | |
| 57 | +#endif | |
| 53 | 58 | |
| 54 | 59 | union { |
| 55 | 60 | int _pad[SI_PAD_SIZE]; |