From: Heiko Carstens Date: Fri, 1 Oct 2021 12:15:56 +0000 (+0200) Subject: s390/jump_label: use text_poke_sync() X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=1c27dfb24e3b2a026488aa51e9991e27a1d94164;p=linux.git s390/jump_label: use text_poke_sync() 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 9156653b56f69..1e245da821977 100644 --- a/arch/s390/kernel/jump_label.c +++ b/arch/s390/kernel/jump_label.c @@ -6,8 +6,8 @@ * Author(s): Jan Glauber */ #include -#include #include +#include #include struct insn { @@ -72,15 +72,11 @@ static void __jump_label_transform(struct jump_entry *entry, s390_kernel_write(code, &new, sizeof(new)); } -static void __jump_label_sync(void *dummy) -{ -} - void arch_jump_label_transform(struct jump_entry *entry, enum jump_label_type type) { __jump_label_transform(entry, type, 0); - smp_call_function(__jump_label_sync, NULL, 1); + text_poke_sync(); } void arch_jump_label_transform_static(struct jump_entry *entry,