]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mips: Sync struct siginfo with general version
authorQiaowei Ren <qiaowei.ren@intel.com>
Fri, 14 Nov 2014 15:18:20 +0000 (07:18 -0800)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 17 Nov 2014 23:58:53 +0000 (00:58 +0100)
New fields about bound violation are added into general struct
siginfo. This will impact MIPS and IA64, which extend general
struct siginfo. This patch syncs this struct for MIPS with
general version.

Signed-off-by: Qiaowei Ren <qiaowei.ren@intel.com>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Cc: linux-mm@kvack.org
Cc: linux-mips@linux-mips.org
Cc: Dave Hansen <dave@sr71.net>
Link: http://lkml.kernel.org/r/20141114151820.F7EDC3CC@viggo.jf.intel.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/mips/include/uapi/asm/siginfo.h

index e81174432bab0eb7c1e41093e6bdd5ed833fc851..d08f83f19db566899298e41ac06bf53f3a757400 100644 (file)
@@ -92,6 +92,10 @@ typedef struct siginfo {
                        int _trapno;    /* TRAP # which caused the signal */
 #endif
                        short _addr_lsb;
+                       struct {
+                               void __user *_lower;
+                               void __user *_upper;
+                       } _addr_bnd;
                } _sigfault;
 
                /* SIGPOLL, SIGXFSZ (To do ...)  */