From 6eeb9653aa555f88d0a6e68cb4cdfef724597df2 Mon Sep 17 00:00:00 2001 From: Jeff Roberson Date: Tue, 1 Apr 2003 01:12:24 +0000 Subject: [PATCH] - Include umtx.h in files generated by makesyscalls.sh - Add system calls for umtx. --- sys/kern/makesyscalls.sh | 1 + sys/kern/syscalls.master | 2 ++ 2 files changed, 3 insertions(+) diff --git a/sys/kern/makesyscalls.sh b/sys/kern/makesyscalls.sh index 5a0a48ae7d1..c790740fe26 100644 --- a/sys/kern/makesyscalls.sh +++ b/sys/kern/makesyscalls.sh @@ -118,6 +118,7 @@ s/\$//g printf "#include \n" > sysarg printf "#include \n" > sysarg printf "#include \n" > sysarg + printf "#include \n" > sysarg printf "#include \n\n" > sysarg printf "#include \n\n" > sysarg printf "struct proc;\n\n" > sysarg diff --git a/sys/kern/syscalls.master b/sys/kern/syscalls.master index 95fb7760051..f22060b67a2 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)