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>
This commit is contained in:
Al Viro
2017-07-09 17:14:25 -04:00
committed by Eric W. Biederman
parent 30073566ca
commit 09d1415d24
2 changed files with 6 additions and 85 deletions

View File

@@ -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];