]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
Define _addr_lsb in siginfo_t for mips
authorAndi Kleen <ak@linux.intel.com>
Fri, 8 Oct 2010 18:36:15 +0000 (20:36 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 9 Oct 2010 18:42:37 +0000 (11:42 -0700)
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>
arch/mips/include/asm/siginfo.h

index 96e28f18dad11fbc0dabf41e4fbaf25f1302f3b0..1ca64b4d33d96844da375d3df443246f781e564a 100644 (file)
@@ -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 ...)  */