summaryrefslogtreecommitdiffstats
path: root/sys/kern/sysv_sem.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2007-03-04 22:36:48 +0000
committerrwatson <rwatson@FreeBSD.org>2007-03-04 22:36:48 +0000
commit300d4098cfd89ed7f8fca1a3333256308124f41b (patch)
treef27b57bdc76f93b33f438468bf58343b920adf0f /sys/kern/sysv_sem.c
parentcabb128e116189b28979fed24ecb43c60be0ffcf (diff)
downloadFreeBSD-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.c15
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;
OpenPOWER on IntegriCloud