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 <rob.herring@calxeda.com>
Acked-by: Dave Martin <dave.martin@linaro.org>
#define THUMB(x...) x
#ifdef __ASSEMBLY__
#define W(instr) instr.w
#define THUMB(x...) x
#ifdef __ASSEMBLY__
#define W(instr) instr.w
#define BSYM(sym) sym + 1
#define BSYM(sym) sym + 1
#else /* !CONFIG_THUMB2_KERNEL */
#else /* !CONFIG_THUMB2_KERNEL */
#define THUMB(x...)
#ifdef __ASSEMBLY__
#define W(instr) instr
#define THUMB(x...)
#ifdef __ASSEMBLY__
#define W(instr) instr
#endif /* CONFIG_THUMB2_KERNEL */
#endif /* CONFIG_THUMB2_KERNEL */