diff options
Diffstat (limited to 'libc/arch-sh/bionic/atomics_sh.c')
-rw-r--r-- | libc/arch-sh/bionic/atomics_sh.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libc/arch-sh/bionic/atomics_sh.c b/libc/arch-sh/bionic/atomics_sh.c index 16966f7..c7815ff 100644 --- a/libc/arch-sh/bionic/atomics_sh.c +++ b/libc/arch-sh/bionic/atomics_sh.c @@ -98,3 +98,13 @@ int __futex_wake(volatile void *ftx, int count) { return futex(ftx, FUTEX_WAKE, count, NULL, NULL, 0); } + +int __futex_syscall3(volatile void *ftx, int op, int val) +{ + return futex(ftx, op, val, NULL, NULL, 0); +} + +int __futex_syscall4(volative void *ftx, int op, int val, const struct timespec *timeout) +{ + return futex(ftx, op, val, (void *)timeout, NULL, 0); +} |