projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
adf55f7
)
ARM: make BSYM macro assembly only
author
Rob Herring
<rob.herring@calxeda.com>
Mon, 9 Jan 2012 21:43:20 +0000
(15:43 -0600)
committer
Rob Herring
<rob.herring@calxeda.com>
Mon, 16 Jan 2012 14:56:25 +0000
(08:56 -0600)
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>
arch/arm/include/asm/unified.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/include/asm/unified.h
b/arch/arm/include/asm/unified.h
index bc631161e9c6d29eb0f9e73d408da4ae4c13da0e..f5989f46b4d2d450f18b24faa946de750394ec13 100644
(file)
--- 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 */