diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2014-02-07 08:17:43 (GMT) |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2014-03-26 09:01:28 (GMT) |
commit | ec7ac6afd07b2d958aab9dfc0a686300b856922a (patch) | |
tree | a4705a35138437a44c8dc99939e36cfda4d34473 /arch/arc/lib/memset.S | |
parent | d6579e99bc448a351279cea7469ab64a00d25ff8 (diff) | |
download | linux-ec7ac6afd07b2d958aab9dfc0a686300b856922a.tar.xz |
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/memset.S')
-rw-r--r-- | arch/arc/lib/memset.S | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/arc/lib/memset.S b/arch/arc/lib/memset.S index 9b2d88d..d36bd43 100644 --- a/arch/arc/lib/memset.S +++ b/arch/arc/lib/memset.S @@ -6,11 +6,11 @@ * published by the Free Software Foundation. */ -#include <asm/linkage.h> +#include <linux/linkage.h> #define SMALL 7 /* Must be at least 6 to deal with alignment/loop issues. */ -ARC_ENTRY memset +ENTRY(memset) mov_s r4,r0 or r12,r0,r2 bmsk.f r12,r12,1 @@ -46,14 +46,14 @@ ARC_ENTRY memset stb.ab r1,[r4,1] .Ltiny_end: j_s [blink] -ARC_EXIT memset +END(memset) ; memzero: @r0 = mem, @r1 = size_t ; memset: @r0 = mem, @r1 = char, @r2 = size_t -ARC_ENTRY memzero +ENTRY(memzero) ; adjust bzero args to memset args mov r2, r1 mov r1, 0 b memset ;tail call so need to tinker with blink -ARC_EXIT memzero +END(memzero) |