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)
committerTom Rini <trini@konsulko.com>
Fri, 6 Mar 2015 01:49:43 +0000 (20:49 -0500)
commit950cb9bbc7fa6fa129a675c39b99e7cd9d63595c
tree9c8273441beb67ff86eb6c2bd53573987c1635a1
parentb050898efa6b4f0272f12885a7365f044ab4c08e
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