diff options
Diffstat (limited to 'kernel/module.c')
-rw-r--r-- | kernel/module.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/module.c b/kernel/module.c index cc79c942c572..496dcb57b608 100644 --- a/kernel/module.c +++ b/kernel/module.c | |||
@@ -2352,6 +2352,8 @@ sys_init_module(void __user *umod, | |||
2352 | /* Now it's a first class citizen! Wake up anyone waiting for it. */ | 2352 | /* Now it's a first class citizen! Wake up anyone waiting for it. */ |
2353 | mod->state = MODULE_STATE_LIVE; | 2353 | mod->state = MODULE_STATE_LIVE; |
2354 | wake_up(&module_wq); | 2354 | wake_up(&module_wq); |
2355 | blocking_notifier_call_chain(&module_notify_list, | ||
2356 | MODULE_STATE_LIVE, mod); | ||
2355 | 2357 | ||
2356 | mutex_lock(&module_mutex); | 2358 | mutex_lock(&module_mutex); |
2357 | /* Drop initial reference. */ | 2359 | /* Drop initial reference. */ |