summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_module.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/kern_module.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/kern_module.c')
-rw-r--r--sys/kern/kern_module.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/sys/kern/kern_module.c b/sys/kern/kern_module.c
index fc6a3d3..233012d 100644
--- a/sys/kern/kern_module.c
+++ b/sys/kern/kern_module.c
@@ -280,9 +280,6 @@ module_file(module_t mod)
/*
* Syscalls.
*/
-/*
- * MPSAFE
- */
int
modnext(struct thread *td, struct modnext_args *uap)
{
@@ -314,9 +311,6 @@ done2:
return (error);
}
-/*
- * MPSAFE
- */
int
modfnext(struct thread *td, struct modfnext_args *uap)
{
@@ -347,9 +341,6 @@ struct module_stat_v1 {
int id;
};
-/*
- * MPSAFE
- */
int
modstat(struct thread *td, struct modstat_args *uap)
{
@@ -403,9 +394,6 @@ modstat(struct thread *td, struct modstat_args *uap)
return (error);
}
-/*
- * MPSAFE
- */
int
modfind(struct thread *td, struct modfind_args *uap)
{
@@ -447,9 +435,6 @@ struct module_stat32 {
modspecific32_t data;
};
-/*
- * MPSAFE
- */
int
freebsd32_modstat(struct thread *td, struct freebsd32_modstat_args *uap)
{
OpenPOWER on IntegriCloud