summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/mips/bits/siginfo.h
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2006-11-04 19:54:32 +0000
committerEric Andersen <andersen@codepoet.org>2006-11-04 19:54:32 +0000
commitb56362fde867f487068901d41a19cb1d95bf364b (patch)
tree8d44e6f499b8fc792dccac00ccf7758fe5e03c9a /libc/sysdeps/linux/mips/bits/siginfo.h
parentc4ae8409ba034fcd7092d891381c3711e62d5b25 (diff)
mips64 patch from Atsushi Nemoto:
Adjust for mips64 kernel.
Diffstat (limited to 'libc/sysdeps/linux/mips/bits/siginfo.h')
-rw-r--r--libc/sysdeps/linux/mips/bits/siginfo.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/mips/bits/siginfo.h b/libc/sysdeps/linux/mips/bits/siginfo.h
index 787e36513..ba3e1f630 100644
--- a/libc/sysdeps/linux/mips/bits/siginfo.h
+++ b/libc/sysdeps/linux/mips/bits/siginfo.h
@@ -265,7 +265,8 @@ enum
/* Structure to transport application-defined values with signals. */
# define __SIGEV_MAX_SIZE 64
-# define __SIGEV_PAD_SIZE ((__SIGEV_MAX_SIZE / sizeof (int)) - 3)
+# define __SIGEV_HEAD_SIZE (sizeof(long) + 2*sizeof(int))
+# define __SIGEV_PAD_SIZE ((__SIGEV_MAX_SIZE - __SIGEV_HEAD_SIZE) / sizeof (int))
/* Forward declaration of the `pthread_attr_t' type. */
struct __pthread_attr_s;