diff options
author | Minfei Huang <mnfhuang@gmail.com> | 2015-05-22 17:26:29 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2015-05-25 18:16:45 +0300 |
commit | 26029d88ad1ba6ad7d1f16f22dc67aa8eac0d391 (patch) | |
tree | ad3eb5ef4878af62a92559938fc522da10f43a53 /kernel/livepatch | |
parent | 8cdd043ab32c2ff28d2a77c514a768a9edce244c (diff) | |
download | linux-26029d88ad1ba6ad7d1f16f22dc67aa8eac0d391.tar.xz |
livepatch: annotate klp_init() with __init
module_init() function should be marked __init.
[jkosina@suse.cz: remove overly verbose changelog]
Signed-off-by: Minfei Huang <mnfhuang@gmail.com>
Acked-by: Josh Poimboeuf <jpoimboe@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'kernel/livepatch')
-rw-r--r-- | kernel/livepatch/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/livepatch/core.c b/kernel/livepatch/core.c index c38398e20f64..a0acda468f1a 100644 --- a/kernel/livepatch/core.c +++ b/kernel/livepatch/core.c @@ -990,7 +990,7 @@ static struct notifier_block klp_module_nb = { .priority = INT_MIN+1, /* called late but before ftrace notifier */ }; -static int klp_init(void) +static int __init klp_init(void) { int ret; |