s390/jump_label: add __init_or_module annotation
Add missing __init_or_module to arch_jump_label_transform_static(). Signed-off-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
This commit is contained in:
Родитель
acd6c9afc6
Коммит
0c14c03795
|
@ -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,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();
|
||||
|
|
Загрузка…
Ссылка в новой задаче