X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=kernel%2Fmodule.c;h=9db11911e04b7b55df05fd9f928f5629fe46430d;hb=ef9da47c7cc64d69526331f315e76b5680d4048f;hp=61d212120df48e82a1b6521120fdbd428d983a81;hpb=6679ce6e5f519096612b480d255d9ca97be0c2be;p=linux-2.6-omap-h63xx.git diff --git a/kernel/module.c b/kernel/module.c index 61d212120df..9db11911e04 100644 --- a/kernel/module.c +++ b/kernel/module.c @@ -1799,7 +1799,7 @@ static void *module_alloc_update_bounds(unsigned long size) /* Allocate and load the module: note that size of section 0 is always zero, and we rely on this for optional sections. */ -static struct module *load_module(void __user *umod, +static noinline struct module *load_module(void __user *umod, unsigned long len, const char __user *uargs) { @@ -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. */