diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2017-07-10 00:14:25 +0300 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2018-01-12 23:34:48 +0300 |
commit | 09d1415d2454dbcd7cb2fc0b56da8afba8d03dc6 (patch) | |
tree | 43359160002aa7834aa9fbbebef9648699344333 /include/uapi/asm-generic/siginfo.h | |
parent | 30073566ca64cbc005f4fbcc21f0af7db83940a2 (diff) | |
download | linux-09d1415d2454dbcd7cb2fc0b56da8afba8d03dc6.tar.xz |
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/siginfo.h')
-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 { typedef struct siginfo { int si_signo; +#ifndef __ARCH_HAS_SWAPPED_SIGINFO int si_errno; int si_code; +#else + int si_code; + int si_errno; +#endif union { int _pad[SI_PAD_SIZE]; |