diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2022-06-15 18:41:41 +0300 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2022-06-24 10:48:55 +0300 |
commit | fdfd42892f311e2b3695852036e5be23661dc590 (patch) | |
tree | 52a8521d8454ca3da3d0ff416d541909627ba9f4 /arch/s390/kernel/module.c | |
parent | 0c3b61e00a0d0872c521586494ec23f6016c317a (diff) | |
download | linux-fdfd42892f311e2b3695852036e5be23661dc590.tar.xz |
jump_label: mips: move module NOP patching into arch code
MIPS is the only remaining architecture that needs to patch jump label
NOP encodings to initialize them at load time. So let's move the module
patching part of that from generic code into arch/mips, and drop it from
the others.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20220615154142.1574619-3-ardb@kernel.org
Diffstat (limited to 'arch/s390/kernel/module.c')
-rw-r--r-- | arch/s390/kernel/module.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/s390/kernel/module.c b/arch/s390/kernel/module.c index 26125a9c436d..2d159b32885b 100644 --- a/arch/s390/kernel/module.c +++ b/arch/s390/kernel/module.c @@ -548,6 +548,5 @@ int module_finalize(const Elf_Ehdr *hdr, #endif /* CONFIG_FUNCTION_TRACER */ } - jump_label_apply_nops(me); return 0; } |