aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/module.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/module.c')
-rw-r--r--kernel/module.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/module.c b/kernel/module.c
index 427b99f1a4b3..8ec33ce202a6 100644
--- a/kernel/module.c
+++ b/kernel/module.c
@@ -3442,6 +3442,8 @@ static int load_module(struct load_info *info, const char __user *uargs,
3442 if (err) 3442 if (err)
3443 goto unlink_mod; 3443 goto unlink_mod;
3444 3444
3445 mutex_init(&mod->param_lock);
3446
3445 /* Now we've got everything in the final locations, we can 3447 /* Now we've got everything in the final locations, we can
3446 * find optional sections. */ 3448 * find optional sections. */
3447 err = find_module_sections(mod, info); 3449 err = find_module_sections(mod, info);