summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorQiaowei Ren <qiaowei.ren@intel.com>2014-11-14 16:18:20 +0100
committerThomas Gleixner <tglx@linutronix.de>2014-11-18 00:58:53 +0100
commit232b5fff5bad78ad00b94153fa90ca53bef6a444 (patch)
treea16b571b0e80bfebc493e3ecdf21393dd5ec5a71 /arch
parentmpx: Extend siginfo structure to include bound violation information (diff)
downloadlinux-232b5fff5bad78ad00b94153fa90ca53bef6a444.tar.xz
linux-232b5fff5bad78ad00b94153fa90ca53bef6a444.zip
mips: Sync struct siginfo with general version
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/include/uapi/asm/siginfo.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/mips/include/uapi/asm/siginfo.h b/arch/mips/include/uapi/asm/siginfo.h
index e81174432bab..d08f83f19db5 100644
--- a/arch/mips/include/uapi/asm/siginfo.h
+++ b/arch/mips/include/uapi/asm/siginfo.h
@@ -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 ...) */