mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 12:25:00 -04:00
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:
parent
30073566ca
commit
09d1415d24
2 changed files with 6 additions and 85 deletions
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Reference in a new issue