summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_context.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_context.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_context.c')
-rw-r--r--sys/kern/kern_context.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/kern/kern_context.c b/sys/kern/kern_context.c
index 300b1f4..8532a8f 100644
--- a/sys/kern/kern_context.c
+++ b/sys/kern/kern_context.c
@@ -58,9 +58,6 @@ struct swapcontext_args {
}
#endif
-/*
- * MPSAFE
- */
int
getcontext(struct thread *td, struct getcontext_args *uap)
{
@@ -79,9 +76,6 @@ getcontext(struct thread *td, struct getcontext_args *uap)
return (ret);
}
-/*
- * MPSAFE
- */
int
setcontext(struct thread *td, struct setcontext_args *uap)
{
OpenPOWER on IntegriCloud