From: Ralf Baechle Date: Thu, 12 Jul 2012 15:13:15 +0000 (+0200) Subject: MIPS: Enable entries for SIGSYS in struct siginfo. X-Git-Tag: next-20120817~87^2^5~14 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=5d01af605f6767ead7ef584f9c36640734a5340f;p=karo-tx-linux.git MIPS: Enable entries for SIGSYS in struct siginfo. This is necessary because MIPS doesn't use HAVE_ARCH_SIGINFO_T for historical reasons. Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/include/asm/siginfo.h b/arch/mips/include/asm/siginfo.h index 20ebeb875ee6..5fad4f6be089 100644 --- a/arch/mips/include/asm/siginfo.h +++ b/arch/mips/include/asm/siginfo.h @@ -32,6 +32,8 @@ struct siginfo; #define __ARCH_SI_PREAMBLE_SIZE (4 * sizeof(int)) #endif +#define __ARCH_SIGSYS + #include typedef struct siginfo { @@ -96,6 +98,13 @@ typedef struct siginfo { __ARCH_SI_BAND_T _band; /* POLL_IN, POLL_OUT, POLL_MSG */ int _fd; } _sigpoll; + + /* SIGSYS */ + struct { + void __user *_call_addr; /* calling user insn */ + int _syscall; /* triggering system call number */ + unsigned int _arch; /* AUDIT_ARCH_* of syscall */ + } _sigsys; } _sifields; } siginfo_t;