diff options
author | davidxu <davidxu@FreeBSD.org> | 2006-10-06 08:22:08 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2006-10-06 08:22:08 +0000 |
commit | c5bda619e9929f81e813f4e49d3b7baa9c4e23e0 (patch) | |
tree | 3bcafa939a8da46b5a3851c0e72cc6c21a14b15e /sys/compat/freebsd32 | |
parent | 25f4754ec5fe769440cd08f8bb0974188b77f801 (diff) | |
download | FreeBSD-src-c5bda619e9929f81e813f4e49d3b7baa9c4e23e0.zip FreeBSD-src-c5bda619e9929f81e813f4e49d3b7baa9c4e23e0.tar.gz |
Implement 32bit umtx_lock and umtx_unlock system calls, these two system
calls are not used by libthr in RELENG_6 and HEAD, it is only used by
the libthr in RELENG-5, the _umtx_op system call can do more incremental
dirty works than these two system calls without having to introduce new
system calls or throw away old system calls when things are going on.
Diffstat (limited to 'sys/compat/freebsd32')
-rw-r--r-- | sys/compat/freebsd32/syscalls.master | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/freebsd32/syscalls.master b/sys/compat/freebsd32/syscalls.master index 5cfd0c8..2a421dd 100644 --- a/sys/compat/freebsd32/syscalls.master +++ b/sys/compat/freebsd32/syscalls.master @@ -721,8 +721,8 @@ 431 AUE_NULL NOPROTO { void thr_exit(long *state); } 432 AUE_NULL NOPROTO { int thr_self(long *id); } 433 AUE_NULL NOPROTO { int thr_kill(long id, int sig); } -434 AUE_NULL NOPROTO { int _umtx_lock(struct umtx *umtx); } -435 AUE_NULL NOPROTO { int _umtx_unlock(struct umtx *umtx); } +434 AUE_NULL STD { int freebsd32_umtx_lock(struct umtx *umtx); } +435 AUE_NULL STD { int freebsd32_umtx_unlock(struct umtx *umtx); } 436 AUE_NULL NOPROTO { int jail_attach(int jid); } 437 AUE_EXTATTR_LIST_FD UNIMPL extattr_list_fd 438 AUE_EXTATTR_LIST_FILE UNIMPL extattr_list_file |