Re: [PATCH 8/9] jump label: Make arch_jump_label_text_poke_early()optional

From: Steven Rostedt
Date: Fri Oct 15 2010 - 17:35:53 EST


On Fri, 2010-10-15 at 14:22 -0700, David Daney wrote:

> Really the SPARC code (and any architectures added in the future with a
> well defined optimal NOP) should be doing nothing here as well.
>
> So I could turn the question around and ask: How many empty definitions
> of this thing do you want in the tree?
>
> I will defer to Steven. If he wants to push the empty stubs into all
> the architectures, I will update the MIPS patch and he can remove/revert
> the 'jump label: Make arch_jump_label_text_poke_early() optional' patch.
>
> Let me know which option you would prefer.

On IRC, Thomas Gleixner mentioned a better solution (something I've done
with ftrace). Just add a "weak" stub function. No need to get Kconfig
involved.

-- Steve


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/