Commit 95bcd683fb694a3e2d0538bf486430a0dfbb4111

Authored by Steven Rostedt
Committed by Steven Rostedt
1 parent de31c3ca81

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: Thomas Gleixner <tglx@linutronix.de>
LKML-Reference: <1286218615-24011-2-git-send-email-ddaney@caviumnetworks.com>
LKML-Reference: <20101015201037.703989993@goodmis.org>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>

Showing 1 changed file with 7 additions and 0 deletions Side-by-side Diff

... ... @@ -270,6 +270,13 @@
270 270 return conflict;
271 271 }
272 272  
  273 +/*
  274 + * Not all archs need this.
  275 + */
  276 +void __weak arch_jump_label_text_poke_early(jump_label_t addr)
  277 +{
  278 +}
  279 +
273 280 static __init int init_jump_label(void)
274 281 {
275 282 int ret;