summaryrefslogtreecommitdiff
path: root/sys/compat/linux/arch/alpha
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>2020-04-26 18:53:31 +0000
committerthorpej <thorpej@NetBSD.org>2020-04-26 18:53:31 +0000
commit9a08a752700d262c41d95e8a0683fc35b2b4a94b (patch)
tree20fb86573006ba4ae93169469e2b3b7c95673a5c /sys/compat/linux/arch/alpha
parent17a127f8763e16e6b279a004ba1a7494252731b6 (diff)
Add a NetBSD native futex implementation, mostly written by riastradh@.
Map the COMPAT_LINUX futex calls to the native ones.
Diffstat (limited to 'sys/compat/linux/arch/alpha')
-rw-r--r--sys/compat/linux/arch/alpha/syscalls.master16
1 files changed, 10 insertions, 6 deletions
diff --git a/sys/compat/linux/arch/alpha/syscalls.master b/sys/compat/linux/arch/alpha/syscalls.master
index 2331443411b..f740b086284 100644
--- a/sys/compat/linux/arch/alpha/syscalls.master
+++ b/sys/compat/linux/arch/alpha/syscalls.master
@@ -1,4 +1,4 @@
- $NetBSD: syscalls.master,v 1.96 2019/11/09 23:44:31 jdolecek Exp $
+ $NetBSD: syscalls.master,v 1.97 2020/04/26 18:53:32 thorpej Exp $
;
; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
@@ -740,11 +740,15 @@
struct linux_timespec *timeout, \
linux_sigset_t *sigset); }
465 UNIMPL unshare
-466 STD { int|linux_sys||set_robust_list( \
- struct linux_robust_list_head *head, size_t len); }
-467 STD { int|linux_sys||get_robust_list(int pid, \
- struct linux_robust_list_head **head, \
- size_t *len); }
+ ;
+ ; The NetBSD native robust list calls have different
+ ; argument names / types, but they are ABI-compatible
+ ; with Linux.
+ ;
+466 NOARGS { int|sys||__futex_set_robust_list(void *head, \
+ size_t len); }
+467 NOARGS { int|sys||__futex_get_robust_list(lwpid_t lwpid, \
+ void **headp, size_t *lenp); }
468 UNIMPL splice
469 UNIMPL sync_file_range
470 UNIMPL tee