aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/mips/kernel_sigaction.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/mips/kernel_sigaction.h')
-rw-r--r--sysdeps/unix/sysv/linux/mips/kernel_sigaction.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/mips/kernel_sigaction.h b/sysdeps/unix/sysv/linux/mips/kernel_sigaction.h
index bb7fe6bece..3a803a66a5 100644
--- a/sysdeps/unix/sysv/linux/mips/kernel_sigaction.h
+++ b/sysdeps/unix/sysv/linux/mips/kernel_sigaction.h
@@ -4,9 +4,12 @@
#define HAVE_SA_RESTORER
+/* Linux/MIPS still uses the old sigaction structure in the kernel. */
+#define old_kernel_sigaction kernel_sigaction
+
struct kernel_sigaction {
unsigned int sa_flags;
- __sighandler_t sa_handler;
+ __sighandler_t k_sa_handler;
unsigned long sa_mask;
unsigned int __pad0[3]; /* reserved, keep size constant */