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 14:34:48 -0600 |
commit | 09d1415d2454dbcd7cb2fc0b56da8afba8d03dc6 (patch) | |
tree | 43359160002aa7834aa9fbbebef9648699344333 /include/uapi/asm-generic | |
parent | 30073566ca64cbc005f4fbcc21f0af7db83940a2 (diff) | |
download | linux-stable-09d1415d2454dbcd7cb2fc0b56da8afba8d03dc6.tar.gz linux-stable-09d1415d2454dbcd7cb2fc0b56da8afba8d03dc6.tar.bz2 linux-stable-09d1415d2454dbcd7cb2fc0b56da8afba8d03dc6.zip |
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 { 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]; |