Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Qiaowei Ren and committed by
Thomas Gleixner
232b5fff ee1b58d3

+4
+4
arch/mips/include/uapi/asm/siginfo.h
··· 92 92 int _trapno; /* TRAP # which caused the signal */ 93 93 #endif 94 94 short _addr_lsb; 95 + struct { 96 + void __user *_lower; 97 + void __user *_upper; 98 + } _addr_bnd; 95 99 } _sigfault; 96 100 97 101 /* SIGPOLL, SIGXFSZ (To do ...) */