summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2003-04-01 01:12:24 +0000
committerjeff <jeff@FreeBSD.org>2003-04-01 01:12:24 +0000
commita7da772fc115e36c4fcb3f7468e737e2468e5d09 (patch)
treee7925c7626039b7afff867bfe704050d27d01048
parente3addd2765bea48199bbb385fce5863a567b449b (diff)
downloadFreeBSD-src-a7da772fc115e36c4fcb3f7468e737e2468e5d09.zip
FreeBSD-src-a7da772fc115e36c4fcb3f7468e737e2468e5d09.tar.gz
- Include umtx.h in files generated by makesyscalls.sh
- Add system calls for umtx.
-rw-r--r--sys/kern/makesyscalls.sh1
-rw-r--r--sys/kern/syscalls.master2
2 files changed, 3 insertions, 0 deletions
diff --git a/sys/kern/makesyscalls.sh b/sys/kern/makesyscalls.sh
index 5a0a48a..c790740 100644
--- a/sys/kern/makesyscalls.sh
+++ b/sys/kern/makesyscalls.sh
@@ -118,6 +118,7 @@ s/\$//g
printf "#include <sys/signal.h>\n" > sysarg
printf "#include <sys/acl.h>\n" > sysarg
printf "#include <sys/thr.h>\n" > sysarg
+ printf "#include <sys/umtx.h>\n" > sysarg
printf "#include <posix4/_semaphore.h>\n\n" > sysarg
printf "#include <sys/ucontext.h>\n\n" > sysarg
printf "struct proc;\n\n" > sysarg
diff --git a/sys/kern/syscalls.master b/sys/kern/syscalls.master
index 95fb776..f22060b 100644
--- a/sys/kern/syscalls.master
+++ b/sys/kern/syscalls.master
@@ -628,6 +628,8 @@
431 STD BSD { void thr_exit(void); }
432 STD BSD { int thr_self(thr_id_t *id); }
433 STD BSD { int thr_kill(thr_id_t id, int sig); }
+434 MSTD BSD { int _umtx_lock(struct umtx *umtx); }
+435 MSTD BSD { int _umtx_unlock(struct umtx *umtx); }
; Please copy any additions and changes to the following compatability tables:
; sys/ia64/ia32/syscalls.master (take a best guess)
OpenPOWER on IntegriCloud