add defines for number of sigset_t bytes syscalls expect
authorRich Felker <dalias@aerifal.cx>
Fri, 10 Aug 2012 01:35:19 +0000 (21:35 -0400)
committerRich Felker <dalias@aerifal.cx>
Fri, 10 Aug 2012 01:35:19 +0000 (21:35 -0400)
yet another gratuitous mips incompatibility...

arch/arm/bits/syscall.h
arch/i386/bits/syscall.h
arch/mips/bits/syscall.h
arch/x86_64/bits/syscall.h

index 816d7b05d81f8c3da85f960ecf49234ea69b5aee..9932c9e5fa82cf162d6a7b068cc3e041bb309d27 100644 (file)
@@ -3,6 +3,8 @@
 ((union { long long ll; long l[2]; }){ .ll = x }).l[1]
 #define __SYSCALL_LL_O(x) 0, __SYSCALL_LL_E((x))
 
+#define __SYSCALL_SSLEN 8
+
 long (__syscall)(long, ...);
 
 static inline long __syscall0(long n)
index 37b339c098331f516300aca74e9fb83a59fd2f8b..4b574e993d3c58400beab76ac6f55dba3042855d 100644 (file)
@@ -3,6 +3,8 @@
 ((union { long long ll; long l[2]; }){ .ll = x }).l[1]
 #define __SYSCALL_LL_O(x) __SYSCALL_LL_E((x))
 
+#define __SYSCALL_SSLEN 8
+
 static inline long __syscall0(long __n)
 {
        unsigned long __ret;
index 868ce0fe474e482c6808a95d492afd6edb871b1b..6c51bab941d2c4ada1e954583ac2134bf3cef92c 100644 (file)
@@ -3,6 +3,8 @@
 ((union { long long ll; long l[2]; }){ .ll = x }).l[1]
 #define __SYSCALL_LL_O(x) 0, __SYSCALL_LL_E((x))
 
+#define __SYSCALL_SSLEN 16
+
 long (__syscall)(long, ...);
 
 static inline long __syscall0(long n)
index 61a67a70cb5669ee6662fe25e97081ab4cbb881b..567cfcb7e832c5b5cc60aadc32dce4b2906a54aa 100644 (file)
@@ -1,6 +1,8 @@
 #define __SYSCALL_LL_E(x) (x)
 #define __SYSCALL_LL_O(x) (x)
 
+#define __SYSCALL_SSLEN 8
+
 static inline long __syscall0(long __n)
 {
        unsigned long __ret;