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/kern_linker.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/kern_linker.c')
-rw-r--r-- | sys/kern/kern_linker.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/sys/kern/kern_linker.c b/sys/kern/kern_linker.c index 21f145c..cdbc10b 100644 --- a/sys/kern/kern_linker.c +++ b/sys/kern/kern_linker.c @@ -841,9 +841,6 @@ linker_ddb_symbol_values(c_linker_sym_t sym, linker_symval_t *symval) /* * Syscalls. */ -/* - * MPSAFE - */ int kern_kldload(struct thread *td, const char *file, int *fileid) { @@ -909,9 +906,6 @@ kldload(struct thread *td, struct kldload_args *uap) return (error); } -/* - * MPSAFE - */ int kern_kldunload(struct thread *td, int fileid, int flags) { @@ -960,9 +954,6 @@ kern_kldunload(struct thread *td, int fileid, int flags) return (error); } -/* - * MPSAFE - */ int kldunload(struct thread *td, struct kldunload_args *uap) { @@ -970,9 +961,6 @@ kldunload(struct thread *td, struct kldunload_args *uap) return (kern_kldunload(td, uap->fileid, LINKER_UNLOAD_NORMAL)); } -/* - * MPSAFE - */ int kldunloadf(struct thread *td, struct kldunloadf_args *uap) { @@ -983,9 +971,6 @@ kldunloadf(struct thread *td, struct kldunloadf_args *uap) return (kern_kldunload(td, uap->fileid, uap->flags)); } -/* - * MPSAFE - */ int kldfind(struct thread *td, struct kldfind_args *uap) { @@ -1019,9 +1004,6 @@ out: return (error); } -/* - * MPSAFE - */ int kldnext(struct thread *td, struct kldnext_args *uap) { @@ -1059,9 +1041,6 @@ out: return (error); } -/* - * MPSAFE - */ int kldstat(struct thread *td, struct kldstat_args *uap) { @@ -1106,9 +1085,6 @@ kldstat(struct thread *td, struct kldstat_args *uap) return (copyout(&stat, uap->stat, sizeof(struct kld_file_stat))); } -/* - * MPSAFE - */ int kldfirstmod(struct thread *td, struct kldfirstmod_args *uap) { @@ -1138,9 +1114,6 @@ kldfirstmod(struct thread *td, struct kldfirstmod_args *uap) return (error); } -/* - * MPSAFE - */ int kldsym(struct thread *td, struct kldsym_args *uap) { |