Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit efb963dc authored by Rob Herring's avatar Rob Herring
Browse files

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: default avatarRob Herring <rob.herring@calxeda.com>
Acked-by: default avatarDave Martin <dave.martin@linaro.org>
parent adf55f7f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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 */