From: Heiko Carstens Date: Mon, 4 Oct 2021 10:07:35 +0000 (+0200) Subject: s390/jump_label: add __init_or_module annotation X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=0c14c037952c0e29c3c66ccad6301648e02e11e1;p=linux.git s390/jump_label: add __init_or_module annotation Add missing __init_or_module to arch_jump_label_transform_static(). Signed-off-by: Heiko Carstens Signed-off-by: Vasily Gorbik --- diff --git a/arch/s390/kernel/jump_label.c b/arch/s390/kernel/jump_label.c index 0546c67da99be..6bec000c6c1c7 100644 --- a/arch/s390/kernel/jump_label.c +++ b/arch/s390/kernel/jump_label.c @@ -7,6 +7,7 @@ */ #include #include +#include #include #include @@ -91,8 +92,8 @@ void arch_jump_label_transform_apply(void) text_poke_sync(); } -void arch_jump_label_transform_static(struct jump_entry *entry, - enum jump_label_type type) +void __init_or_module arch_jump_label_transform_static(struct jump_entry *entry, + enum jump_label_type type) { jump_label_transform(entry, type, 1); text_poke_sync();