diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2017-07-09 17:14:25 -0400 |
|---|---|---|
| committer | Eric W. Biederman <ebiederm@xmission.com> | 2018-01-12 15:34:48 -0500 |
| commit | 09d1415d2454dbcd7cb2fc0b56da8afba8d03dc6 (patch) | |
| tree | 43359160002aa7834aa9fbbebef9648699344333 /include/uapi/asm-generic | |
| parent | 30073566ca64cbc005f4fbcc21f0af7db83940a2 (diff) | |
signal/mips: switch mips to generic siginfo
... having taught the latter that si_errno and si_code might be
swapped.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Diffstat (limited to 'include/uapi/asm-generic')
| -rw-r--r-- | include/uapi/asm-generic/siginfo.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/uapi/asm-generic/siginfo.h b/include/uapi/asm-generic/siginfo.h index 1555805c5ac8..00829f74dcb6 100644 --- a/include/uapi/asm-generic/siginfo.h +++ b/include/uapi/asm-generic/siginfo.h | |||
| @@ -48,8 +48,13 @@ typedef union sigval { | |||
| 48 | 48 | ||
| 49 | typedef struct siginfo { | 49 | typedef struct siginfo { |
| 50 | int si_signo; | 50 | int si_signo; |
| 51 | #ifndef __ARCH_HAS_SWAPPED_SIGINFO | ||
| 51 | int si_errno; | 52 | int si_errno; |
| 52 | int si_code; | 53 | int si_code; |
| 54 | #else | ||
| 55 | int si_code; | ||
| 56 | int si_errno; | ||
| 57 | #endif | ||
| 53 | 58 | ||
| 54 | union { | 59 | union { |
| 55 | int _pad[SI_PAD_SIZE]; | 60 | int _pad[SI_PAD_SIZE]; |
