[PATCH 1/1] powerpc/jump_label: use HAVE_JUMP_LABEL?

Michael Ellerman mpe at ellerman.id.au
Thu Aug 21 17:34:53 EST 2014


On Thu, 2014-08-21 at 10:41 +0800, Zhouyi Zhou wrote:
> CONFIG_JUMP_LABEL doesn't ensure HAVE_JUMP_LABEL, if it
> is not the case use maintainers's own mutex to guard
> the modification of global values.
 
OK, so CONFIG_JUMP_LABEL says the user wants to use jump labels. But we also
need the toolchain to support it.

That is reflected in CC_HAVE_ASM_GOTO=y, and if both are set then
HAVE_JUMP_LABEL is set to true.

So this looks right to me.

cheers




More information about the Linuxppc-dev mailing list