Commit 0c14c037 authored by Heiko Carstens's avatar Heiko Carstens Committed by Vasily Gorbik

s390/jump_label: add __init_or_module annotation

Add missing __init_or_module to arch_jump_label_transform_static().
Signed-off-by: default avatarHeiko Carstens <hca@linux.ibm.com>
Signed-off-by: default avatarVasily Gorbik <gor@linux.ibm.com>
parent acd6c9af
......@@ -7,6 +7,7 @@
*/
#include <linux/uaccess.h>
#include <linux/jump_label.h>
#include <linux/module.h>
#include <asm/text-patching.h>
#include <asm/ipl.h>
......@@ -91,7 +92,7 @@ void arch_jump_label_transform_apply(void)
text_poke_sync();
}
void arch_jump_label_transform_static(struct jump_entry *entry,
void __init_or_module arch_jump_label_transform_static(struct jump_entry *entry,
enum jump_label_type type)
{
jump_label_transform(entry, type, 1);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment