]> git.baikalelectronics.ru Git - kernel.git/commit
jump_label: mips: move module NOP patching into arch code
authorArd Biesheuvel <ardb@kernel.org>
Wed, 15 Jun 2022 15:41:41 +0000 (17:41 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Fri, 24 Jun 2022 07:48:55 +0000 (09:48 +0200)
commit07033511d0e74e18aa8accd9107eb970993e22ee
tree52a8521d8454ca3da3d0ff416d541909627ba9f4
parentefc7582a270e0e3457b96a866a5e4ad0f3acd490
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
arch/mips/kernel/jump_label.c
arch/mips/kernel/module.c
arch/s390/kernel/module.c
arch/sparc/kernel/module.c
arch/x86/kernel/module.c
include/linux/jump_label.h
kernel/jump_label.c