Commit 53f037b0 authored by Qiaowei Ren's avatar Qiaowei Ren Committed by Thomas Gleixner

ia64: 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 IA64 with
general version.
Signed-off-by: default avatarQiaowei Ren <qiaowei.ren@intel.com>
Signed-off-by: default avatarDave 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/20141114151822.82B3B486@viggo.jf.intel.comSigned-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 232b5fff
...@@ -63,6 +63,10 @@ typedef struct siginfo { ...@@ -63,6 +63,10 @@ typedef struct siginfo {
unsigned int _flags; /* see below */ unsigned int _flags; /* see below */
unsigned long _isr; /* isr */ unsigned long _isr; /* isr */
short _addr_lsb; /* lsb of faulting address */ short _addr_lsb; /* lsb of faulting address */
struct {
void __user *_lower;
void __user *_upper;
} _addr_bnd;
} _sigfault; } _sigfault;
/* SIGPOLL */ /* SIGPOLL */
...@@ -110,9 +114,9 @@ typedef struct siginfo { ...@@ -110,9 +114,9 @@ typedef struct siginfo {
/* /*
* SIGSEGV si_codes * SIGSEGV si_codes
*/ */
#define __SEGV_PSTKOVF (__SI_FAULT|3) /* paragraph stack overflow */ #define __SEGV_PSTKOVF (__SI_FAULT|4) /* paragraph stack overflow */
#undef NSIGSEGV #undef NSIGSEGV
#define NSIGSEGV 3 #define NSIGSEGV 4
#undef NSIGTRAP #undef NSIGTRAP
#define NSIGTRAP 4 #define NSIGTRAP 4
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment