diff options
author | Minfei Huang <[email protected]> | 2015-05-22 22:26:29 +0800 |
---|---|---|
committer | Jiri Kosina <[email protected]> | 2015-05-25 17:16:45 +0200 |
commit | 26029d88ad1ba6ad7d1f16f22dc67aa8eac0d391 (patch) | |
tree | ad3eb5ef4878af62a92559938fc522da10f43a53 | |
parent | 8cdd043ab32c2ff28d2a77c514a768a9edce244c (diff) |
livepatch: annotate klp_init() with __init
module_init() function should be marked __init.
[[email protected]: remove overly verbose changelog]
Signed-off-by: Minfei Huang <[email protected]>
Acked-by: Josh Poimboeuf <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
-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; |