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)
commitfdfd42892f311e2b3695852036e5be23661dc590
tree52a8521d8454ca3da3d0ff416d541909627ba9f4
parent0c3b61e00a0d0872c521586494ec23f6016c317a
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