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

From: Steven Rostedt
Date: Fri Oct 15 2010 - 17:08:37 EST


On Fri, 2010-10-15 at 23:06 +0200, Peter Zijlstra wrote:
> On Fri, 2010-10-15 at 16:09 -0400, Steven Rostedt wrote:
> > +
> > +#ifdef HAVE_ARCH_JUMP_LABEL_TEXT_POKE_EARLY
> > extern void arch_jump_label_text_poke_early(jump_label_t addr);
> > +#else
> > +static inline void arch_jump_label_text_poke_early(jump_label_t addr) {}
> > +#endif
> > +
>
> How often is this called, do we really need to avoid that call? It looks
> like init code.

Yeah, that's a good point.

What's the harm in doing a stub in the mips code here?

-- 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/