]> asedeno.scripts.mit.edu Git - linux.git/commit
x86/jump_label: Add a __jump_label_set_jump_code() helper
authorDaniel Bristot de Oliveira <bristot@redhat.com>
Wed, 12 Jun 2019 09:57:27 +0000 (11:57 +0200)
committerIngo Molnar <mingo@kernel.org>
Mon, 17 Jun 2019 10:09:20 +0000 (12:09 +0200)
commit4cc6620b5e4c8953c725bcfab86a57df01e83a7c
tree3fe8e0f22e5c338009ca8899a98eb20e9959ce0c
parente1aacb3f4adc1bcd4273a1d538a2dc3e50f1cbb5
x86/jump_label: Add a __jump_label_set_jump_code() helper

Move the definition of the code to be written from
__jump_label_transform() to a specialized function. No functional
change.

Signed-off-by: Daniel Bristot de Oliveira <bristot@redhat.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Chris von Recklinghausen <crecklin@redhat.com>
Cc: Clark Williams <williams@redhat.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Jason Baron <jbaron@akamai.com>
Cc: Jiri Kosina <jkosina@suse.cz>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Marcelo Tosatti <mtosatti@redhat.com>
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Scott Wood <swood@redhat.com>
Cc: Steven Rostedt (VMware) <rostedt@goodmis.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/d2f52a0010ecd399cf9b02a65bcf5836571b9e52.1560325897.git.bristot@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/jump_label.c