projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
modules: extend initcall_debug functionality to the module loader
[linux-2.6-block.git]
/
kernel
/
module.c
diff --git
a/kernel/module.c
b/kernel/module.c
index 61d212120df48e82a1b6521120fdbd428d983a81..08864d257eb0ece2239cd86008973826bc49abd0 100644
(file)
--- a/
kernel/module.c
+++ b/
kernel/module.c
@@
-2288,7
+2288,7
@@
sys_init_module(void __user *umod,
/* Start the module */
if (mod->init != NULL)
- ret =
mod->init(
);
+ ret =
do_one_initcall(mod->init
);
if (ret < 0) {
/* Init routine failed: abort. Try to protect us from
buggy refcounters. */