[PATCH 2/3] jump_label: Allow jump labels to be used in assembly

Peter Zijlstra peterz at infradead.org
Thu Apr 9 17:08:38 AEST 2015


On Thu, Apr 09, 2015 at 01:51:31PM +1000, Anton Blanchard wrote:
> To use jump labels in assembly we need the HAVE_JUMP_LABEL define,
> so we select a fallback version if the toolchain does not support
> them.
> 
> Modify linux/jump_label.h so it can be included by assembly files.
> We also need to add -DCC_HAVE_ASM_GOTO to KBUILD_AFLAGS.
> 
> Signed-off-by: Anton Blanchard <anton at samba.org>

Acked-by: Peter Zijlstra (Intel) <peterz at infradead.org>


More information about the Linuxppc-dev mailing list