summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_time.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_time.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_time.c')
-rw-r--r--sys/kern/kern_time.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/sys/kern/kern_time.c b/sys/kern/kern_time.c
index 01409d6..718732c 100644
--- a/sys/kern/kern_time.c
+++ b/sys/kern/kern_time.c
@@ -187,9 +187,6 @@ struct clock_gettime_args {
};
#endif
-/*
- * MPSAFE
- */
/* ARGSUSED */
int
clock_gettime(struct thread *td, struct clock_gettime_args *uap)
@@ -259,9 +256,6 @@ struct clock_settime_args {
};
#endif
-/*
- * MPSAFE
- */
/* ARGSUSED */
int
clock_settime(struct thread *td, struct clock_settime_args *uap)
@@ -402,9 +396,6 @@ struct nanosleep_args {
};
#endif
-/*
- * MPSAFE
- */
/* ARGSUSED */
int
nanosleep(struct thread *td, struct nanosleep_args *uap)
@@ -436,9 +427,6 @@ struct gettimeofday_args {
struct timezone *tzp;
};
#endif
-/*
- * MPSAFE
- */
/* ARGSUSED */
int
gettimeofday(struct thread *td, struct gettimeofday_args *uap)
@@ -465,9 +453,6 @@ struct settimeofday_args {
struct timezone *tzp;
};
#endif
-/*
- * MPSAFE
- */
/* ARGSUSED */
int
settimeofday(struct thread *td, struct settimeofday_args *uap)
@@ -546,9 +531,6 @@ struct getitimer_args {
struct itimerval *itv;
};
#endif
-/*
- * MPSAFE
- */
int
getitimer(struct thread *td, struct getitimer_args *uap)
{
@@ -602,9 +584,6 @@ struct setitimer_args {
};
#endif
-/*
- * MPSAFE
- */
int
setitimer(struct thread *td, struct setitimer_args *uap)
{
OpenPOWER on IntegriCloud