From: Rob Herring Date: Mon, 9 Jan 2012 21:43:20 +0000 (-0600) Subject: ARM: make BSYM macro assembly only X-Git-Tag: upstream/snapshot3+hdmi~8286^2~1^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=efb963dcd9854c70667cdba9b5854b7290f1cefd;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git ARM: make BSYM macro assembly only BSYM macro is only needed for assembly files and its usage in c files is wrong, so only define it for assembly. Signed-off-by: Rob Herring Acked-by: Dave Martin --- diff --git a/arch/arm/include/asm/unified.h b/arch/arm/include/asm/unified.h index bc63116..f5989f4 100644 --- a/arch/arm/include/asm/unified.h +++ b/arch/arm/include/asm/unified.h @@ -37,8 +37,8 @@ #define THUMB(x...) x #ifdef __ASSEMBLY__ #define W(instr) instr.w -#endif #define BSYM(sym) sym + 1 +#endif #else /* !CONFIG_THUMB2_KERNEL */ @@ -49,8 +49,8 @@ #define THUMB(x...) #ifdef __ASSEMBLY__ #define W(instr) instr -#endif #define BSYM(sym) sym +#endif #endif /* CONFIG_THUMB2_KERNEL */