mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Define _addr_lsb in siginfo_t for mips v2
@ 2010-10-08 18:36 Andi Kleen
  0 siblings, 0 replies; only message in thread
From: Andi Kleen @ 2010-10-08 18:36 UTC (permalink / raw)
  To: torvalds; +Cc: linux-kernel, Andi Kleen, ralf, tony.luck

From: Andi Kleen <ak@linux.intel.com>

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

Cc: ralf@linux-mips.org
Cc: tony.luck@intel.com
Signed-off-by: Andi Kleen <ak@linux.intel.com>
---
 arch/mips/include/asm/siginfo.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/mips/include/asm/siginfo.h b/arch/mips/include/asm/siginfo.h
index 96e28f1..709f7d4 100644
--- a/arch/mips/include/asm/siginfo.h
+++ b/arch/mips/include/asm/siginfo.h
@@ -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 ...)  */
-- 
1.7.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-10-08 18:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-08 18:36 [PATCH] Define _addr_lsb in siginfo_t for mips v2 Andi Kleen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®