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

2015-04-09 Thread Peter Zijlstra
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

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

2015-04-09 Thread Steven Rostedt
On Thu, 9 Apr 2015 13:51:31 +1000 Anton Blanchard an...@samba.org 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

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

2015-04-08 Thread Anton Blanchard
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

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

2015-04-08 Thread Anton Blanchard
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

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

2015-01-07 Thread Anton Blanchard
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