]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
use ASM_NL instead of '; ' for assembler new line character in the macro
authorChen Gang <gang.chen.5i5j@gmail.com>
Thu, 19 Feb 2015 15:51:27 +0000 (18:51 +0300)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 12:24:11 +0000 (14:24 +0200)
commit85b752de00ece557fc323bf89195f23c0022825f
treec8d983f1450d57adc0724d672d98904d17bd05c9
parentfe601a77578722c97fa2fd9fbc20a90fc1c907d6
use ASM_NL instead of '; ' for assembler new line character in the macro

For some assemblers, they use another character as newline in a macro
(e.g. arc uses '`'), so for generic assembly code, need use ASM_NL (a
macro) instead of ';' for it.

Basically this is the same patch as applied to Linux kernel -
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/include/linux/linkage.h?id=9df62f054406992ce41ec4558fca6a0fa56fffeb

but modified a bit to fit in U-Boot.

Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Tom Rini <trini@ti.com>
arch/arc/include/asm/linkage.h [new file with mode: 0644]
include/linux/linkage.h