diff options
| author | 2014-05-13 18:34:35 -0500 | |
|---|---|---|
| committer | 2014-05-13 18:34:35 -0500 | |
| commit | eafd370dfe487facfdef499057f4eac9aa0b4bf5 (patch) | |
| tree | 0925a67cd658cdf4811f49b4cd2073f663166bd0 /kernel/module.c | |
| parent | of: push struct boot_param_header and defines into powerpc (diff) | |
| parent | of/selftest: add testcase for nodes with same name and address (diff) | |
| download | linux-dev-eafd370dfe487facfdef499057f4eac9aa0b4bf5.tar.xz linux-dev-eafd370dfe487facfdef499057f4eac9aa0b4bf5.zip | |
Merge branch 'dt-bus-name' into for-next
Diffstat (limited to 'kernel/module.c')
| -rw-r--r-- | kernel/module.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/module.c b/kernel/module.c index 11869408f79b..079c4615607d 100644 --- a/kernel/module.c +++ b/kernel/module.c @@ -815,9 +815,6 @@ SYSCALL_DEFINE2(delete_module, const char __user *, name_user, return -EFAULT; name[MODULE_NAME_LEN-1] = '\0'; - if (!(flags & O_NONBLOCK)) - pr_warn("waiting module removal not supported: please upgrade\n"); - if (mutex_lock_interruptible(&module_mutex) != 0) return -EINTR; @@ -3271,6 +3268,9 @@ static int load_module(struct load_info *info, const char __user *uargs, dynamic_debug_setup(info->debug, info->num_debug); + /* Ftrace init must be called in the MODULE_STATE_UNFORMED state */ + ftrace_module_init(mod); + /* Finally it's fully formed, ready to start executing. */ err = complete_formation(mod, info); if (err) |
