diff options
author | rwatson <rwatson@FreeBSD.org> | 2007-03-04 22:36:48 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2007-03-04 22:36:48 +0000 |
commit | 300d4098cfd89ed7f8fca1a3333256308124f41b (patch) | |
tree | f27b57bdc76f93b33f438468bf58343b920adf0f /sys/kern/sysv_sem.c | |
parent | cabb128e116189b28979fed24ecb43c60be0ffcf (diff) | |
download | FreeBSD-src-300d4098cfd89ed7f8fca1a3333256308124f41b.zip FreeBSD-src-300d4098cfd89ed7f8fca1a3333256308124f41b.tar.gz |
Remove 'MPSAFE' annotations from the comments above most system calls: all
system calls now enter without Giant held, and then in some cases, acquire
Giant explicitly.
Remove a number of other MPSAFE annotations in the credential code and
tweak one or two other adjacent comments.
Diffstat (limited to 'sys/kern/sysv_sem.c')
-rw-r--r-- | sys/kern/sysv_sem.c | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/sys/kern/sysv_sem.c b/sys/kern/sysv_sem.c index cc9fe67..f164b07 100644 --- a/sys/kern/sysv_sem.c +++ b/sys/kern/sysv_sem.c @@ -319,9 +319,7 @@ DECLARE_MODULE(sysvsem, sysvsem_mod, MODULE_VERSION(sysvsem, 1); /* - * Entry point for all SEM calls - * - * MPSAFE + * Entry point for all SEM calls. */ int semsys(td, uap) @@ -533,7 +531,7 @@ semvalid(semid, semakptr) } /* - * Note that the user-mode half of this passes a union, not a pointer + * Note that the user-mode half of this passes a union, not a pointer. */ #ifndef _SYS_SYSPROTO_H_ struct __semctl_args { @@ -544,9 +542,6 @@ struct __semctl_args { }; #endif -/* - * MPSAFE - */ int __semctl(td, uap) struct thread *td; @@ -874,9 +869,6 @@ struct semget_args { }; #endif -/* - * MPSAFE - */ int semget(td, uap) struct thread *td; @@ -990,9 +982,6 @@ struct semop_args { }; #endif -/* - * MPSAFE - */ int semop(td, uap) struct thread *td; |