aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorRob Herring <rob.herring@calxeda.com>2012-01-09 16:43:20 -0500
committerRob Herring <rob.herring@calxeda.com>2012-01-16 09:56:25 -0500
commitefb963dcd9854c70667cdba9b5854b7290f1cefd (patch)
treee9d0c6313755e3a28ca82e9528d72d90d791f16e /arch/arm
parentadf55f7f5bde24149455efdee8d055645de96006 (diff)
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 <rob.herring@calxeda.com> Acked-by: Dave Martin <dave.martin@linaro.org>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/include/asm/unified.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/include/asm/unified.h b/arch/arm/include/asm/unified.h
index bc631161e9c6..f5989f46b4d2 100644
--- a/arch/arm/include/asm/unified.h
+++ b/arch/arm/include/asm/unified.h
@@ -37,8 +37,8 @@
37#define THUMB(x...) x 37#define THUMB(x...) x
38#ifdef __ASSEMBLY__ 38#ifdef __ASSEMBLY__
39#define W(instr) instr.w 39#define W(instr) instr.w
40#endif
41#define BSYM(sym) sym + 1 40#define BSYM(sym) sym + 1
41#endif
42 42
43#else /* !CONFIG_THUMB2_KERNEL */ 43#else /* !CONFIG_THUMB2_KERNEL */
44 44
@@ -49,8 +49,8 @@
49#define THUMB(x...) 49#define THUMB(x...)
50#ifdef __ASSEMBLY__ 50#ifdef __ASSEMBLY__
51#define W(instr) instr 51#define W(instr) instr
52#endif
53#define BSYM(sym) sym 52#define BSYM(sym) sym
53#endif
54 54
55#endif /* CONFIG_THUMB2_KERNEL */ 55#endif /* CONFIG_THUMB2_KERNEL */
56 56