Răsfoiți Sursa

Define _addr_lsb in siginfo_t for mips

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.

Cc: ralf@linux-mips.org
Cc: tony.luck@intel.com
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Andi Kleen 14 ani în urmă
părinte
comite
e92ba6d2ec
1 a modificat fișierele cu 1 adăugiri și 0 ștergeri
  1. 1 0
      arch/mips/include/asm/siginfo.h

+ 1 - 0
arch/mips/include/asm/siginfo.h

@@ -88,6 +88,7 @@ typedef struct siginfo {
 #ifdef __ARCH_SI_TRAPNO
 #ifdef __ARCH_SI_TRAPNO
 			int _trapno;	/* TRAP # which caused the signal */
 			int _trapno;	/* TRAP # which caused the signal */
 #endif
 #endif
+			short _addr_lsb;
 		} _sigfault;
 		} _sigfault;
 
 
 		/* SIGPOLL, SIGXFSZ (To do ...)  */
 		/* SIGPOLL, SIGXFSZ (To do ...)  */