v2: Make arch_jump_label_text_poke_early() optional. As pointed out
by Rabin Vincent, the MIPS NOP is already optimal and does not need to
be replaced at boot time. It is possible that SPARC should leave
arch_jump_label_text_poke_early() unimplementd, but I leave that work
for others as I cannot test it.
v1: Add MIPS jump label support.
David Daney (2):
jump label: Make arch_jump_label_text_poke_early() optional
jump label: Add MIPS support.
arch/mips/Kconfig | 1 +
arch/mips/include/asm/jump_label.h | 48 +++++++++++++++++++++++++++++++++
arch/mips/kernel/Makefile | 3 +-
arch/mips/kernel/jump_label.c | 50 +++++++++++++++++++++++++++++++++++
arch/mips/kernel/module.c | 5 +++
arch/sparc/include/asm/jump_label.h | 1 +
arch/x86/include/asm/jump_label.h | 1 +
include/linux/jump_label.h | 6 ++++
8 files changed, 114 insertions(+), 1 deletions(-)
create mode 100644 arch/mips/include/asm/jump_label.h
create mode 100644 arch/mips/kernel/jump_label.c
Cc: David Miller <email@example.com>