On Thu, 9 Apr 2015 13:51:30 +1000 Anton Blanchard <an...@samba.org> wrote:
> Wrap asm/jump_label.h for all archs with #ifndef __ASSEMBLY__. > Since these are kernel only headers, we don't need #ifdef __KERNEL__ > so can simplify things a bit. > > If an architecture wants to use jump labels in assembly, it > will still need to define a macro to create the __jump_table > entries (see ARCH_STATIC_BRANCH in the powerpc asm/jump_label.h > for an example). > > Signed-off-by: Anton Blanchard <an...@samba.org> > --- > arch/arm/include/asm/jump_label.h | 5 ++--- > arch/arm64/include/asm/jump_label.h | 8 ++++---- > arch/mips/include/asm/jump_label.h | 7 +++---- > arch/s390/include/asm/jump_label.h | 3 +++ > arch/sparc/include/asm/jump_label.h | 5 ++--- > arch/x86/include/asm/jump_label.h | 5 ++--- > 6 files changed, 16 insertions(+), 17 deletions(-) > > diff --git a/arch/arm/include/asm/jump_label.h > b/arch/arm/include/asm/jump_label.h Acked-by: Steven Rostedt <rost...@goodmis.org> -- Steve _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev