Commit 95bcd683 authored by Steven Rostedt's avatar Steven Rostedt Committed by Steven Rostedt

jump label: Make arch_jump_label_text_poke_early() optional

Some archs do not need to do anything special for jump labels on
startup (like MIPS).  This patch adds a weak function stub for
arch_jump_label_text_poke_early();

Cc: Jason Baron <jbaron@redhat.com>
Cc: David Miller <davem@davemloft.net>
Cc: David Daney <ddaney@caviumnetworks.com>
Suggested-by: default avatarThomas Gleixner <tglx@linutronix.de>
LKML-Reference: <1286218615-24011-2-git-send-email-ddaney@caviumnetworks.com>
LKML-Reference: <20101015201037.703989993@goodmis.org>
Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
parent de31c3ca
...@@ -270,6 +270,13 @@ int jump_label_text_reserved(void *start, void *end) ...@@ -270,6 +270,13 @@ int jump_label_text_reserved(void *start, void *end)
return conflict; return conflict;
} }
/*
* Not all archs need this.
*/
void __weak arch_jump_label_text_poke_early(jump_label_t addr)
{
}
static __init int init_jump_label(void) static __init int init_jump_label(void)
{ {
int ret; int ret;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment