David Howells
2a1486981c
Fix breakage in MIPS siginfo handling
...
MIPS's siginfo handling has been broken since this commit:
commit 574c4866e33d648520a8bd5bf6f573ea6e554e88
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Sun Nov 25 22:24:19 2012 -0500
consolidate kernel-side struct sigaction declarations
for 64-bit BE MIPS CPUs.
The UAPI variant looks like this:
struct sigaction {
unsigned int sa_flags;
__sighandler_t sa_handler;
sigset_t sa_mask;
};
but the core kernel's variant looks like this:
struct sigaction {
#ifndef __ARCH_HAS_ODD_SIGACTION
__sighandler_t sa_handler;
unsigned long sa_flags;
#else
unsigned long sa_flags;
__sighandler_t sa_handler;
#endif
#ifdef __ARCH_HAS_SA_RESTORER
__sigrestore_t sa_restorer;
#endif
sigset_t sa_mask;
};
The problem is that sa_flags has been changed from an unsigned int to an
unsigned long.
Fix this by making sa_flags unsigned int if __ARCH_HAS_ODD_SIGACTION is
defined.
Whilst we're at it, rename __ARCH_HAS_ODD_SIGACTION to
__ARCH_HAS_IRIX_SIGACTION.
Signed-off-by: David Howells <dhowells@redhat.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Cc: stable@vger.kernel.org
Acked-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2013-03-19 19:15:52 +01:00
..
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2013-02-21 12:51:33 +01:00
2013-02-01 10:00:22 +01:00
2013-02-15 19:01:57 +01:00
2013-03-19 19:15:40 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2012-12-13 18:15:30 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2012-12-13 18:15:30 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2013-02-21 12:51:33 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2012-12-13 19:40:13 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2013-02-17 01:25:31 +01:00
2013-02-01 10:00:22 +01:00
2012-12-13 18:15:30 +01:00
2013-03-12 18:58:09 +01:00
2013-02-01 10:00:22 +01:00
2012-12-13 18:15:30 +01:00
2012-12-13 18:15:30 +01:00
2012-12-13 18:15:30 +01:00
2013-02-01 10:00:22 +01:00
2013-02-21 12:51:33 +01:00
2013-02-21 12:51:33 +01:00
2013-03-02 07:44:16 -08:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2009-07-03 15:45:26 +01:00
2010-08-05 13:26:02 +01:00
2009-12-12 13:08:14 +01:00
2013-02-01 10:00:22 +01:00
2011-04-06 06:19:38 -07:00
2011-04-06 06:19:38 -07:00
2008-12-12 18:12:23 +00:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2011-12-07 22:03:18 +00:00
2013-02-01 10:00:22 +01:00
2011-12-07 22:04:03 +00:00
2013-02-20 18:24:24 +01:00
2009-12-05 09:10:12 -08:00
2009-06-24 18:34:39 +01:00
2011-05-10 18:15:24 +01:00
2011-10-20 15:00:18 +01:00
2013-02-01 10:00:22 +01:00
2011-05-10 18:15:24 +01:00
2013-02-01 10:00:22 +01:00
2012-05-15 17:49:20 +02:00
2012-08-01 18:10:06 +02:00
2008-10-11 16:18:52 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2013-03-02 07:44:16 -08:00
2008-10-11 16:18:52 +01:00
2010-10-04 18:34:00 +01:00
2013-02-21 12:51:33 +01:00
2013-02-01 10:00:22 +01:00
2013-02-21 12:51:33 +01:00
2008-10-11 16:18:52 +01:00
2010-02-27 12:53:27 +01:00
2008-10-11 16:18:52 +01:00
2012-10-16 22:20:03 +02:00
2010-10-29 19:08:31 +01:00
2009-05-14 13:50:29 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2009-07-03 15:45:29 +01:00
2013-01-24 13:20:09 +01:00
2008-10-11 16:18:52 +01:00
2013-02-01 10:00:22 +01:00
2008-10-11 16:18:52 +01:00
2012-10-09 09:47:14 +01:00
2012-03-28 18:30:02 +01:00
2008-10-11 16:18:52 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2010-04-12 17:26:08 +01:00
2013-02-01 10:00:22 +01:00
2010-02-27 12:53:12 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2013-02-21 12:51:33 +01:00
2013-02-01 10:00:22 +01:00
2008-10-11 16:18:52 +01:00
2013-02-01 10:00:22 +01:00
2009-09-17 20:07:48 +02:00
2013-02-21 12:51:33 +01:00
2013-02-01 10:00:22 +01:00
2012-12-04 16:57:54 +01:00
2011-07-26 16:49:47 -07:00
2010-02-27 12:53:38 +01:00
2008-10-11 16:18:52 +01:00
2013-02-01 10:00:20 +01:00
2013-02-01 10:00:22 +01:00
2013-02-17 01:25:34 +01:00
2009-07-03 15:45:29 +01:00
2008-10-11 16:18:52 +01:00
2013-02-01 10:00:22 +01:00
2012-11-09 10:59:21 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2012-02-24 10:05:59 +01:00
2012-11-13 15:48:27 -05:00
2010-08-05 13:26:29 +01:00
2012-12-13 16:46:47 +01:00
2010-08-05 09:22:21 -05:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2012-10-11 11:14:12 +02:00
2008-10-11 16:18:52 +01:00
2010-06-09 11:12:36 +02:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2008-10-11 16:18:52 +01:00
2011-01-18 19:30:21 +01:00
2008-10-11 16:18:52 +01:00
2013-02-01 10:00:22 +01:00
2011-10-20 15:00:18 +01:00
2013-03-19 19:15:35 +01:00
2013-02-01 10:00:22 +01:00
2010-04-12 17:26:14 +01:00
2008-10-11 16:18:52 +01:00
2012-12-13 18:15:30 +01:00
2013-02-01 10:00:22 +01:00
2008-10-11 16:18:52 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2010-02-27 12:53:27 +01:00
2013-02-21 12:51:33 +01:00
2008-10-11 16:18:52 +01:00
2011-03-14 21:07:26 +01:00
2010-02-27 12:53:03 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2008-10-11 16:18:52 +01:00
2009-03-11 21:11:07 +01:00
2013-02-01 10:00:22 +01:00
2012-07-23 13:54:52 +01:00
2012-12-19 18:07:39 -05:00
2012-08-17 10:57:28 +02:00
2013-02-01 10:00:22 +01:00
2008-10-11 16:18:52 +01:00
2009-07-03 15:45:27 +01:00
2013-02-01 10:00:22 +01:00
2008-10-11 16:18:52 +01:00
2013-02-01 10:00:22 +01:00
2010-08-07 18:15:50 +02:00
2013-02-01 10:00:22 +01:00
2008-10-11 16:18:52 +01:00
2008-10-11 16:18:52 +01:00
2010-02-27 12:53:27 +01:00
2012-10-09 09:47:14 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2012-10-09 09:47:14 +01:00
2012-10-09 09:47:14 +01:00
2013-03-19 19:15:52 +01:00
2013-02-03 18:33:02 -05:00
2011-07-20 23:12:11 +01:00
2013-02-01 10:00:22 +01:00
2009-11-02 12:00:06 +01:00
2008-10-11 16:18:52 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2012-10-09 09:47:14 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2009-11-02 12:00:05 +01:00
2013-02-01 10:00:22 +01:00
2011-06-15 14:35:33 +02:00
2013-02-01 10:00:22 +01:00
2011-05-24 23:35:55 +02:00
2013-02-01 10:00:22 +01:00
2012-10-09 09:47:14 +01:00
2013-02-01 10:00:22 +01:00
2013-02-21 12:51:33 +01:00
2008-10-11 16:18:52 +01:00
2013-02-01 10:00:22 +01:00
2008-10-11 16:18:52 +01:00
2008-10-11 16:18:52 +01:00
2011-12-07 22:01:45 +00:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2008-10-11 16:18:52 +01:00
2008-10-11 16:18:52 +01:00
2013-02-01 10:00:22 +01:00
2012-10-09 09:47:14 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2010-02-27 12:53:27 +01:00
2009-09-30 21:47:02 +02:00
2013-02-14 09:21:15 -05:00
2013-02-01 10:00:22 +01:00
2010-04-12 17:26:14 +01:00
2008-10-11 16:18:52 +01:00
2008-10-11 16:18:52 +01:00
2013-02-01 10:00:22 +01:00
2008-10-11 16:18:56 +01:00
2008-10-11 16:18:52 +01:00
2008-10-11 16:18:52 +01:00