diff options
Diffstat (limited to 'kernel/module.c')
| -rw-r--r-- | kernel/module.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kernel/module.c b/kernel/module.c index d36e45477fac..9bd93de01f4a 100644 --- a/kernel/module.c +++ b/kernel/module.c | |||
| @@ -96,9 +96,9 @@ static inline void add_taint_module(struct module *mod, unsigned flag) | |||
| 96 | mod->taints |= flag; | 96 | mod->taints |= flag; |
| 97 | } | 97 | } |
| 98 | 98 | ||
| 99 | /* A thread that wants to hold a reference to a module only while it | 99 | /* |
| 100 | * is running can call ths to safely exit. | 100 | * A thread that wants to hold a reference to a module only while it |
| 101 | * nfsd and lockd use this. | 101 | * is running can call this to safely exit. nfsd and lockd use this. |
| 102 | */ | 102 | */ |
| 103 | void __module_put_and_exit(struct module *mod, long code) | 103 | void __module_put_and_exit(struct module *mod, long code) |
| 104 | { | 104 | { |
| @@ -1199,7 +1199,7 @@ static int __unlink_module(void *_mod) | |||
| 1199 | return 0; | 1199 | return 0; |
| 1200 | } | 1200 | } |
| 1201 | 1201 | ||
| 1202 | /* Free a module, remove from lists, etc (must hold module mutex). */ | 1202 | /* Free a module, remove from lists, etc (must hold module_mutex). */ |
| 1203 | static void free_module(struct module *mod) | 1203 | static void free_module(struct module *mod) |
| 1204 | { | 1204 | { |
| 1205 | /* Delete from various lists */ | 1205 | /* Delete from various lists */ |
| @@ -1246,7 +1246,7 @@ EXPORT_SYMBOL_GPL(__symbol_get); | |||
| 1246 | 1246 | ||
| 1247 | /* | 1247 | /* |
| 1248 | * Ensure that an exported symbol [global namespace] does not already exist | 1248 | * Ensure that an exported symbol [global namespace] does not already exist |
| 1249 | * in the Kernel or in some other modules exported symbol table. | 1249 | * in the kernel or in some other module's exported symbol table. |
| 1250 | */ | 1250 | */ |
| 1251 | static int verify_export_symbols(struct module *mod) | 1251 | static int verify_export_symbols(struct module *mod) |
| 1252 | { | 1252 | { |
