diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2014-02-07 13:47:43 +0530 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2014-03-26 14:31:28 +0530 |
commit | ec7ac6afd07b2d958aab9dfc0a686300b856922a (patch) | |
tree | a4705a35138437a44c8dc99939e36cfda4d34473 /arch/arc/lib/strlen.S | |
parent | d6579e99bc448a351279cea7469ab64a00d25ff8 (diff) | |
download | linux-ec7ac6afd07b2d958aab9dfc0a686300b856922a.tar.gz linux-ec7ac6afd07b2d958aab9dfc0a686300b856922a.tar.bz2 linux-ec7ac6afd07b2d958aab9dfc0a686300b856922a.zip |
ARC: switch to generic ENTRY/END assembler annotations
With commit 9df62f054406 "arch: use ASM_NL instead of ';'" the generic
macros can handle the arch specific newline quirk. Hence we can get rid
of ARC asm macros and use the "C" style macros.
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/lib/strlen.S')
-rw-r--r-- | arch/arc/lib/strlen.S | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arc/lib/strlen.S b/arch/arc/lib/strlen.S index 39759e099696..53cfd5685a5f 100644 --- a/arch/arc/lib/strlen.S +++ b/arch/arc/lib/strlen.S @@ -6,9 +6,9 @@ * published by the Free Software Foundation. */ -#include <asm/linkage.h> +#include <linux/linkage.h> -ARC_ENTRY strlen +ENTRY(strlen) or r3,r0,7 ld r2,[r3,-7] ld.a r6,[r3,-3] @@ -80,4 +80,4 @@ ARC_ENTRY strlen .Learly_end: b.d .Lend sub_s.ne r1,r1,r1 -ARC_EXIT strlen +END(strlen) |