use bss instead of mmap for main thread's pthread thread-specific data
[oweals/musl.git] / src / thread / __futex.c
index 93352fa3c1323fb62ab8edcac385cf10347ffa14..96307c0888ed486617e18d1da2c4730f9714baf6 100644 (file)
@@ -3,6 +3,5 @@
 
 int __futex(volatile int *addr, int op, int val, void *ts)
 {
-       return syscall4(__NR_futex, (long)addr, op, val, (long)ts);
+       return syscall(SYS_futex, addr, op, val, ts);
 }
-