Skip to contentSkip to conversation

Define _addr_lsb in siginfo_t for mips v2

PATCH New Andi Kleen 1 participant 1 message Oct 8, 2010 MIPS

lore
Share & tools
lore

Andi Kleen

author
#0 lore raw

PATCH 1/1 Define _addr_lsb in siginfo_t for mips v2

From: Andi Kleen <[email protected]>

Define an _addr_lsb field in the mips and ia64 siginfo_ts, following the asm-generic version. This just puts the field over padding.

This fixes a compilation problem introduced with a337fda.

v2: Drop ia64 hunk which is not needed

---
 arch/mips/include/asm/siginfo.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/mips/include/asm/siginfo.h +1 -0
index 96e28f1..709f7d4 100644
@@ -88,6 +88,7 @@ typedef struct siginfo {
 #ifdef __ARCH_SI_TRAPNO
 			int _trapno;	/* TRAP # which caused the signal */
 #endif
+			short _addr_lsb;	
 		} _sigfault;
 
 		/* SIGPOLL, SIGXFSZ (To do ...)  */
Signature · 1 line
1.7.1